ROM map (Boktai 2): Difference between revisions

From Boktai Hacking Wiki
No edit summary
No edit summary
Line 7: Line 7:
|-
|-
| 0x8000350 || undefined main(void)
| 0x8000350 || undefined main(void)
|-
| 0x8048bf0 || char * String_FindCharOrNullTerminator(char * param_1, char param_2)
|-
|-
| 0x80a83ac || undefined Django_CheckLvUp(void)
| 0x80a83ac || undefined Django_CheckLvUp(void)
Line 12: Line 14:
| 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
| 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1)
|-
|-
| 0x822fc2c || undefined Sprite_Update(void)
| 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)
| 0x823100c || void Sys_ReadKeypad(void)
Line 21: Line 33:
|-
|-
| 0x823122c || void bzero(void * buf, uint size)
| 0x823122c || void bzero(void * buf, uint size)
|-
| 0x8231310 || undefined memcpy(void)
|-
|-
| 0x82313c8 || void Actor_Install(Actor * param_1)
| 0x82313c8 || void Actor_Install(Actor * param_1)
Line 33: Line 47:
|-
|-
| 0x82314cc || int Actor_Delete(Actor * actor)
| 0x82314cc || int Actor_Delete(Actor * actor)
|-
| 0x823192c || undefined Mft_GetFile(void)
|-
|-
| 0x8231a78 || byte * Script_ReadLength(byte * pc, uint * length)
| 0x8231a78 || byte * Script_ReadLength(byte * pc, uint * length)
Line 68: Line 84:
|-
|-
| 0x82323dc || int Script_Exec(byte * pc, int param_2)
| 0x82323dc || int Script_Exec(byte * pc, int param_2)
|-
| 0x823254c || void Save_BackupStatAndWorld(void)
|-
|-
| 0x8232610 || undefined Script_LoadPointer(void)
| 0x8232610 || undefined Script_LoadPointer(void)
Line 78: Line 96:
|-
|-
| 0x8232e60 || int Script_RunExpression(byte * pc)
| 0x8232e60 || int Script_RunExpression(byte * pc)
|-
| 0x823b5f8 || undefined Save_BackupStatAndWorld_Scripted(void)
|-
|-
| 0x823b70c || undefined Script_Ctrl_9906(void)
| 0x823b70c || undefined Script_Ctrl_9906(void)

Revision as of 16:06, 14 October 2024

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

Address Description
0x8000350 undefined main(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)
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