ROM map (Boktai 2): Difference between revisions

From Boktai Hacking Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- Please create a new page for maps of other languages! For example "ROM map (Boktai 2, J)". -->
<!-- Please create a new page for maps of other languages! For example "ROM map (Boktai 2, J)". -->


{| class="wikitable"
{| class="wikitable exportable"
|-
|-
! Address || Description
! Address || Description
|-
|-
| 0x080a83ac || undefined Django_CheckLvUp(void)
| 0x8000350 || undefined main(void)
|-
|-
| 0x08231a78 || byte * Script_ReadLength(byte * pc, uint * length)
| 0x8048a24 || undefined Text_LookupEscape(void)
|-
|-
| 0x08231afc || byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
| 0x8048bf0 || char * String_FindCharOrNullTerminator(char * param_1, char param_2)
|-
|-
| 0x08231d20 || undefined Script_StoreVariable(void)
| 0x80a83ac || undefined Django_CheckLvUp(void)
|-
|-
| 0x08231d70 || int Script_SeekToKeyword(char param_1)
| 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
|-
|-
| 0x08231e04 || int Script_GetValueAt(byte * pc)
| 0x821653c || undefined OptionMenu_Update(void)
|-
|-
| 0x08231f1c || uint8_t * Script_GetPc(void)
| 0x821bb10 || void Video_DrawText(undefined4 x, undefined4 y, char * text)
|-
|-
| 0x08231f44 || int Script_GetValue(void)
| 0x822f390 || undefined Video_DrawCharNarrow(void)
|-
|-
| 0x08232070 || undefined Script_RunControl(void)
| 0x822f418 || undefined Video_DrawCharWide(void)
|-
|-
| 0x082320e0 || byte * Script_LookupById(int script_id, uint * param_2)
| 0x822fb48 || undefined Sprite_LoadSprite(void)
|-
|-
| 0x0823210c || int Script_ExecById(int script_id, int param_2)
| 0x822fc2c || undefined Sprite_SetSprite(void)
|-
|-
| 0x082321d8 || char * Textbox_LookupString(int string_id)
| 0x823100c || void Sys_ReadKeypad(void)
|-
|-
| 0x08232208 || undefined Script_LoadIndex(void)
| 0x823111c || undefined malloc(void)
|-
|-
| 0x08232330 || int Script_ExecBlock(byte * pc, undefined4 param_2)
| 0x823118c || void free(void * param_1)
|-
|-
| 0x082323dc || int Script_Exec(byte * pc, int param_2)
| 0x823122c || void bzero(void * buf, uint size)
|-
|-
| 0x08232610 || undefined Script_LoadPointer(void)
| 0x8231310 || undefined memcpy(void)
|-
|-
| 0x08232750 || undefined Script_StorePointerCore(void)
| 0x82313c8 || void Actor_Install(Actor * param_1)
|-
|-
| 0x082327e8 || undefined Script_StorePointer(void)
| 0x82313e8 || void Actor_Uninstall(Actor * * param_1)
|-
|-
| 0x08232d3c || undefined Script_RunOperator(int param_1, int param_2, int param_3)
| 0x8231410 || Actor * Actor_Create(byte type, uint size)
|-
|-
| 0x08232e60 || int Script_RunExpression(byte * pc)
| 0x8231458 || void Actor_SetCallbacks(Actor * actor, ActionOfPtr * onFrame, ActionOfPtr * onDestroy)
|-
|-
| 0x0823b70c || undefined Script_Ctrl_9906(void)
| 0x8231460 || void Actor_RunAll(void)
|-
|-
| 0x08243dcc || void Django_GiveMagic(int magic)
| 0x82314cc || int Actor_Delete(Actor * actor)
|-
|-
| 0x08243e34 || undefined Django_GiveMagicFromScript(void)
| 0x823192c || undefined Mft_GetFile(void)
|-
|-
| 0x0824ca98 || int Math_Div(int dividend, int divisor)
| 0x8231a78 || byte * Script_ReadLength(byte * pc, uint * length)
Returns pc after all the length bytes, the length itself is stored in *length.
|-
|-
| 0x0824caa0 || int Math_Mod(int dividend, int divisor)
| 0x8231afc || byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
|-
|-
| 0x085abbc0 || [[Master file table]]
| 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)
|-
| 0x823254c || void Save_BackupStatAndWorld(void)
|-
| 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)
|-
| 0x823b5f8 || undefined Save_BackupStatAndWorld_Scripted(void)
|-
| 0x823b70c || undefined Script_Ctrl_9906(void)
|-
| 0x823d2a4 || int Camera_Update(int param_1)
|-
| 0x823d380 || undefined Camera_Destroy(void)
|-
| 0x823d3ac || undefined Camera_Init(void)
|-
| 0x823d518 || undefined Camera_Create(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)
|-
| 0x8240fbc || void Sound_Play(uint param_1)
|-
| 0x8243dcc || void Django_GiveMagic(int magic)
|-
| 0x8243e34 || undefined Django_GiveMagicFromScript(void)
|-
| 0x8244fac || undefined MP2K_SoundInit(void)
|-
| 0x8245024 || undefined MP2K_SoundMain(void)
|-
| 0x8245030 || void MP2K_SongNumStart(int param_1)
|-
| 0x82456d8 || undefined MP2K_SoundVSync(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)
|-
| 0x825eea8 || MP2K_SongTable (1000 entries)
|-
| 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]]

Latest revision as of 07:43, 25 November 2024

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

Address Description
0x8000350 undefined main(void)
0x8048a24 undefined Text_LookupEscape(void)
0x8048bf0 char * String_FindCharOrNullTerminator(char * param_1, char param_2)
0x80a83ac undefined Django_CheckLvUp(void)
0x8214e3c undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
0x821653c undefined OptionMenu_Update(void)
0x821bb10 void Video_DrawText(undefined4 x, undefined4 y, char * text)
0x822f390 undefined Video_DrawCharNarrow(void)
0x822f418 undefined Video_DrawCharWide(void)
0x822fb48 undefined Sprite_LoadSprite(void)
0x822fc2c undefined Sprite_SetSprite(void)
0x823100c void Sys_ReadKeypad(void)
0x823111c undefined malloc(void)
0x823118c void free(void * param_1)
0x823122c void bzero(void * buf, uint size)
0x8231310 undefined memcpy(void)
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)
0x823192c undefined Mft_GetFile(void)
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)
0x823254c void Save_BackupStatAndWorld(void)
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)
0x823b5f8 undefined Save_BackupStatAndWorld_Scripted(void)
0x823b70c undefined Script_Ctrl_9906(void)
0x823d2a4 int Camera_Update(int param_1)
0x823d380 undefined Camera_Destroy(void)
0x823d3ac undefined Camera_Init(void)
0x823d518 undefined Camera_Create(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)
0x8240fbc void Sound_Play(uint param_1)
0x8243dcc void Django_GiveMagic(int magic)
0x8243e34 undefined Django_GiveMagicFromScript(void)
0x8244fac undefined MP2K_SoundInit(void)
0x8245024 undefined MP2K_SoundMain(void)
0x8245030 void MP2K_SongNumStart(int param_1)
0x82456d8 undefined MP2K_SoundVSync(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)
0x825eea8 MP2K_SongTable (1000 entries)
0x85a4114 Engine call table (null-terminated array of struct { void(*)(int r0) fn; int id; })
0x85abbc0 Master file table