benilla-re systems structs docs

s_switch602114

global · objectlayer

Address
0x602114 · 16 bytes, up to 0x602123
Type
void *[4]
Meaning
Holds the 4 case addresses of the switch in 0x6018f0
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.