ROM map (Boktai 2): Difference between revisions

From Boktai Hacking Wiki
mNo edit summary
No edit summary
Line 6: Line 6:
! Address || Description
! Address || Description
|-
|-
| 0x080a83ac || undefined Django_CheckLvUp(void)
| 0x8000350 || undefined main(void)
|-
|-
| 0x08231a78 || byte * Script_ReadLength(byte * pc, uint * length)
| 0x80a83ac || undefined Django_CheckLvUp(void)
|-
|-
| 0x08231afc || byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
| 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
|-
|-
| 0x08231d20 || undefined Script_StoreVariable(void)
| 0x822fc2c || undefined Sprite_Update(void)
|-
|-
| 0x08231d64 || void Script_SetPc(byte * pc)
| 0x823100c || void Sys_ReadKeypad(void)
|-
|-
| 0x08231d70 || int Script_SeekToKeyword(char param_1)
| 0x823111c || undefined malloc(void)
|-
|-
| 0x08231e04 || int Script_GetValueAt(byte * pc)
| 0x823118c || void free(void * param_1)
|-
|-
| 0x08231f1c || uint8_t * Script_GetPc(void)
| 0x823122c || void bzero(void * buf, uint size)
|-
|-
| 0x08231f44 || int Script_GetValue(void)
| 0x82313c8 || void Actor_Install(Actor * param_1)
|-
|-
| 0x08232070 || undefined Script_RunControl(void)
| 0x82313e8 || void Actor_Uninstall(Actor * * param_1)
|-
|-
| 0x082320e0 || byte * Script_LookupById(int script_id, uint * param_2)
| 0x8231410 || Actor * Actor_Create(byte type, uint size)
|-
|-
| 0x0823210c || int Script_ExecById(int script_id, int param_2)
| 0x8231458 || void Actor_SetCallbacks(Actor * actor, ActionOfPtr * onFrame, ActionOfPtr * onDestroy)
|-
|-
| 0x082321d8 || char * Text_LookupString(int string_id)
| 0x8231460 || void Actor_RunAll(void)
|-
|-
| 0x08231e8c || int Script_GetValueAtSafe(byte * pc)
| 0x82314cc || int Actor_Delete(Actor * actor)
|-
|-
| 0x08231f8c || int Script_GetValueSafe(void)
| 0x8231a78 || byte * Script_ReadLength(byte * pc, uint * length)
Returns pc after all the length bytes, the length itself is stored in *length.
|-
|-
| 0x08232208 || undefined Script_LoadIndex(void)
| 0x8231afc || byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
|-
|-
| 0x08232330 || int Script_ExecBlock(byte * pc, undefined4 param_2)
| 0x8231d20 || undefined Script_StoreVariable(void)
|-
|-
| 0x082323dc || int Script_Exec(byte * pc, int param_2)
| 0x8231d64 || void Script_SetPc(byte * pc)
|-
|-
| 0x08232610 || undefined Script_LoadPointer(void)
| 0x8231d70 || int Script_SeekToKeyword(char param_1)
|-
|-
| 0x08232750 || undefined Script_StorePointerCore(void)
| 0x8231e04 || int Script_GetValueAt(byte * pc)
|-
|-
| 0x082327e8 || undefined Script_StorePointer(void)
| 0x8231e8c || int Script_GetValueAtSafe(byte * pc)
|-
|-
| 0x08232d3c || undefined Script_RunOperator(int param_1, int param_2, int param_3)
| 0x8231f1c || uint8_t * Script_GetPc(void)
|-
|-
| 0x08232e60 || int Script_RunExpression(byte * pc)
| 0x8231f44 || int Script_GetValue(void)
|-
|-
| 0x0823b70c || undefined Script_Ctrl_9906(void)
| 0x8231f8c || int Script_GetValueSafe(void)
|-
|-
| 0x082403f8 || int Time_CalculateSunriseSunset'(undefined param_1, undefined param_2, undefined param_3, undefined param_4, undefined4 param_5, undefined4 param_6, undefined4 param_7, int tz_offset)
| 0x8232070 || undefined Script_RunControl(void)
|-
|-
| 0x08240ac4 || int Time_CalculateSunriseSunset(int latitude, int longitude, int tz_offset)
| 0x82320e0 || byte * Script_LookupById(int script_id, uint * param_2)
|-
|-
| 0x08243dcc || void Django_GiveMagic(int magic)
| 0x823210c || int Script_ExecById(int script_id, int param_2)
|-
|-
| 0x08243e34 || undefined Django_GiveMagicFromScript(void)
| 0x82321d8 || char * Textbox_LookupString(int string_id)
|-
|-
| 0x0824ca98 || int Math_Div(int dividend, int divisor)
| 0x8232208 || undefined Script_LoadIndex(void)
|-
|-
| 0x0824caa0 || int Math_Mod(int dividend, int divisor)
| 0x8232330 || int Script_ExecBlock(byte * pc, undefined4 param_2)
|-
|-
| 0x085a4114 || [[Engine calls (Boktai_2)|Engine call]] table (null-terminated array of <code>struct { void(*)(int r0) fn; int id; }</code>)
| 0x82323dc || int Script_Exec(byte * pc, int param_2)
|-
|-
| 0x085abbc0 || [[Master file table]]
| 0x8232610 || undefined Script_LoadPointer(void)
|-
| 0x8232750 || undefined Script_StorePointerCore(void)
|-
| 0x82327e8 || undefined Script_StorePointer(void)
|-
| 0x8232d3c || undefined Script_RunOperator(int param_1, int param_2, int param_3)
|-
| 0x8232e60 || int Script_RunExpression(byte * pc)
|-
| 0x823b70c || undefined Script_Ctrl_9906(void)
|-
| 0x82403f8 || int Time_CalculateSunriseSunset'(undefined param_1, undefined param_2, undefined param_3, undefined param_4, undefined4 param_5, undefined4 param_6, undefined4 param_7, int tz_offset)
|-
| 0x8240ac4 || int Time_CalculateSunriseSunset(int latitude, int longitude, int tz_offset)
|-
| 0x8243dcc || void Django_GiveMagic(int magic)
|-
| 0x8243e34 || undefined Django_GiveMagicFromScript(void)
|-
| 0x824ca98 || int Math_Div(int dividend, int divisor)
|-
| 0x824caa0 || int Math_Mod(int dividend, int divisor)
|-
| 0x824d740 || int CallParam2(void * param_1, ActionOfPtr * param_2)
|-
| 0x85a4114 || [[Engine calls (Boktai_2)|Engine call]] table (null-terminated array of <code>struct { void(*)(int r0) fn; int id; }</code>)
|-
| 0x85abbc0 || [[Master file table]]
|}
|}


[[Category:Documentation]]
[[Category:Documentation]]
[[Category:Boktai 2]]
[[Category:Boktai 2]]

Revision as of 12:46, 21 September 2024

This is the ROM map for Boktai 2 (U).

Address Description
0x8000350 undefined main(void)
0x80a83ac undefined Django_CheckLvUp(void)
0x8214e3c undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
0x822fc2c undefined Sprite_Update(void)
0x823100c void Sys_ReadKeypad(void)
0x823111c undefined malloc(void)
0x823118c void free(void * param_1)
0x823122c void bzero(void * buf, uint size)
0x82313c8 void Actor_Install(Actor * param_1)
0x82313e8 void Actor_Uninstall(Actor * * param_1)
0x8231410 Actor * Actor_Create(byte type, uint size)
0x8231458 void Actor_SetCallbacks(Actor * actor, ActionOfPtr * onFrame, ActionOfPtr * onDestroy)
0x8231460 void Actor_RunAll(void)
0x82314cc int Actor_Delete(Actor * actor)
0x8231a78 byte * Script_ReadLength(byte * pc, uint * length)

Returns pc after all the length bytes, the length itself is stored in *length.

0x8231afc byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
0x8231d20 undefined Script_StoreVariable(void)
0x8231d64 void Script_SetPc(byte * pc)
0x8231d70 int Script_SeekToKeyword(char param_1)
0x8231e04 int Script_GetValueAt(byte * pc)
0x8231e8c int Script_GetValueAtSafe(byte * pc)
0x8231f1c uint8_t * Script_GetPc(void)
0x8231f44 int Script_GetValue(void)
0x8231f8c int Script_GetValueSafe(void)
0x8232070 undefined Script_RunControl(void)
0x82320e0 byte * Script_LookupById(int script_id, uint * param_2)
0x823210c int Script_ExecById(int script_id, int param_2)
0x82321d8 char * Textbox_LookupString(int string_id)
0x8232208 undefined Script_LoadIndex(void)
0x8232330 int Script_ExecBlock(byte * pc, undefined4 param_2)
0x82323dc int Script_Exec(byte * pc, int param_2)
0x8232610 undefined Script_LoadPointer(void)
0x8232750 undefined Script_StorePointerCore(void)
0x82327e8 undefined Script_StorePointer(void)
0x8232d3c undefined Script_RunOperator(int param_1, int param_2, int param_3)
0x8232e60 int Script_RunExpression(byte * pc)
0x823b70c undefined Script_Ctrl_9906(void)
0x82403f8 int Time_CalculateSunriseSunset'(undefined param_1, undefined param_2, undefined param_3, undefined param_4, undefined4 param_5, undefined4 param_6, undefined4 param_7, int tz_offset)
0x8240ac4 int Time_CalculateSunriseSunset(int latitude, int longitude, int tz_offset)
0x8243dcc void Django_GiveMagic(int magic)
0x8243e34 undefined Django_GiveMagicFromScript(void)
0x824ca98 int Math_Div(int dividend, int divisor)
0x824caa0 int Math_Mod(int dividend, int divisor)
0x824d740 int CallParam2(void * param_1, ActionOfPtr * param_2)
0x85a4114 Engine call table (null-terminated array of struct { void(*)(int r0) fn; int id; })
0x85abbc0 Master file table