benilla-re systems structs docs

s_switch5f76cc

global · objectlayer

Address
0x5f76cc · 124 bytes, up to 0x5f7747
Type
void *[31]
Meaning
Holds the 31 case addresses of the switch in 0x5f6f30
Confidence
verified, proof one
Finding
objectlayer/overview#switch-tables

Finding: Switch tables in objectlayer: overview

The code of the runs carries its switches' tables inline, after the function that jumps through them. A dword table holds case addresses, every one inside the function that jumps through it, and its length is the bounds check ahead of the jump plus one.

The derivation is in the doc.