benilla-re systems structs docs

s_powerCostBaseJumpTable

global · objectlayer

Address
0x612ca0 · 24 bytes, up to 0x612cb7
Type
void *[6]
Meaning
Holds the 6 case addresses of the switch in 0x612c50
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.