benilla-re systems structs docs

s_switch5f41e4

global · objectlayer

Address
0x5f41e4 · 48 bytes, up to 0x5f4213
Type
void *[12]
Meaning
Holds the 12 case addresses of the switch in 0x5f4120
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.