Changes
From Final Fantasy Inside
no edit summary
The first 0x400 bytes of an .ev file is the call table, a mapping between functions and entry points. Each entry is 4 bytes, 2 bytes of function identifier and 2 bytes instruction pointer. Instruction pointers are in 2-byte increments from the start of the code section. The last two bits of the function identifier defines the format of the remaining 14 bits;
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px"
|+ Type = 0, System function
|-
|}
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px"
|+ Type = 1, Model function
|-
|}
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px"
|+ Type = 2, Mesh function
|-