ROM map (Boktai 3): Difference between revisions

From Boktai Hacking Wiki
mNo edit summary
No edit summary
Line 30: Line 30:
|-
|-
| 0x081dcdf4 || void * Time_StartRegionMenu(void)
| 0x081dcdf4 || void * Time_StartRegionMenu(void)
|-
| 0x081ddbc0 || void NameEntry_HandleKeypad(int param_1)
|-
| 0x081df1d8 || void Password_CalcCursorPosition(int param_1)
|-
| 0x081df32c || void Password_HandleKeypadUp(void)
|-
| 0x081df510 || void Password_HandleKeypadDown(void)
|-
| 0x081df694 || void Password_HandleKeypadLeft(void)
|-
| 0x081df878 || void Password_HandleKeypadRight(void)
|-
|-
| 0x08215698 || bg_char* Video_GetBackgroundMap(int bgNum)
| 0x08215698 || bg_char* Video_GetBackgroundMap(int bgNum)
Line 122: Line 134:
|-
|-
| 0x08249224 || void GPIO_Disable(void)
| 0x08249224 || void GPIO_Disable(void)
|-
| 0x0824da48 || void * memcpy'(void * dest, void * src, uint len) - Unsure how this is different from the memcpy at 0x08219db4
|-
|-
| 0x0860330c || [[Engine calls (Boktai_3)|Engine call]] table (null-terminated array of <code>struct { void(*)(int r0) fn; int id; }</code>)
| 0x0860330c || [[Engine calls (Boktai_3)|Engine call]] table (null-terminated array of <code>struct { void(*)(int r0) fn; int id; }</code>)

Revision as of 18:16, 13 September 2024

This is the ROM map for Boktai 3 (J).

Address Description
0x0800145c void main(void)
0x0803223c char * String_FindCharOrNullTerminator(char * s, char ch)

Unlike strchr(3), if ch is not found, returns a pointer to the null terminator instead of NULL.

0x081dc02c void Menu_EraseRect(uint x, uint y, int width, int height)
0x081dc054 void Menu_DrawText(uint x, uint y, char * text)
0x081dc154 void Menu_RenderOption(undefined4 param_1, undefined4 param_2, undefined4 pc, undefined4 option_index)
0x081dc6d0 void Time_ShowRegionMenu(int param_1)
0x081dc754 void Time_RegionMenuOnSelect(int param_1)
0x081dc7a0 void Time_HandleRegionKeypad(int param_1)
0x081dca6c void Time_DestroyRegionMenu(void)
0x081dca9c int Time_LoadRegionList(void * param_1)
0x081dca9a int Time_LoadRegionList(int param_1)
0x081dcdf4 void * Time_StartRegionMenu(void)
0x081ddbc0 void NameEntry_HandleKeypad(int param_1)
0x081df1d8 void Password_CalcCursorPosition(int param_1)
0x081df32c void Password_HandleKeypadUp(void)
0x081df510 void Password_HandleKeypadDown(void)
0x081df694 void Password_HandleKeypadLeft(void)
0x081df878 void Password_HandleKeypadRight(void)
0x08215698 bg_char* Video_GetBackgroundMap(int bgNum)
0x08218d1c int Video_LoadCharFromFont(undefined param_1, undefined param_2, undefined param_3, undefined param_4, undefined4 param_5)
0x08218f2c void Video_DrawChar(char ch, undefined4 x, undefined4 y, undefined4 param_4)
0x082195e0 void Sprite_Destroy(void)
0x0821980c int Sprite_Update(void)
0x0821983c int Sprite_Create(undefined param_1, undefined param_2, undefined param_3, undefined param_4, undefined4 param_5, undefined4 param_6, undefined4 param_7, undefined4 param_8)
0x08219b24 void Sys_ReadKeypad(void)
0x08219c00 uint rand_bootstrap(void)
0x08219c40 void * malloc(int bytes)
0x08219d38 void free(void * mem)
0x08219db4 void memcpy(void * dest, void * source, uint len)
0x08219dd8 void bzero(void * mem, uint bytes)
0x0821a66c int Script_ReadLength(byte * pc, int * length)
0x0821a6f0 byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
0x0821a91c undefined Script_StoreVariable(void)
0x0821a960 void Script_SetPc(byte * pc)
0x0821a96c byte * Script_SeekToKeyword(char kw)
0x0821aa00 int Script_GetValueAt(byte * pc)
0x0821aa88 int Script_GetValueAtSafe(byte * param_1)
0x0821aabc ushort Script_ParseStringRef(byte * pc)
0x0821ab18 void * Script_GetPc(void)
0x0821ab40 int Script_GetValue(void)
0x0821ab88 int Script_GetValueSafe(void)
0x0821acdc byte * Script_LookupById(int script_id, uint * param_2)
0x0821ad08 int Script_ExecById(int script_id, int param_2)
0x0821add4 char * Textbox_LookupString(int string_id)
0x0821af2c int Script_ExecBlock(byte * pc, undefined4 param_2, undefined4 param_3)
0x0821afd8 int Script_Exec(byte * pc, int param_2)
0x0821b20c undefined Script_LoadPointer(byte * param_1, uint * param_2, int param_3, uint * param_4)
0x0821b3e4 undefined Script_StorePointer(void)
0x0821b938 undefined Script_RunOperator(void)
0x0821ba5c int Script_RunExpression(byte * pc)
0x082284f4 void Time_ClearData(void)
0x0822a7a8 undefined Time_CalculateSunriseSunset'(undefined4 param_1, undefined4 param_2, undefined4 param_3, undefined4 param_4, undefined4 param_5, undefined4 param_6, undefined4 param_7, undefined4 tz_offset)
0x0822ae00 undefined Time_CalculateSunriseSunset(void)
0x0822b2f8 undefined Sound_Play(void)
0x0822c238 undefined Sensor_GetBars(void)
0x08248590 void Mem_CpuFastSet(void * source, void * destination, uint count)
0x08248594 void Mem_CpuSet(void * source, void * destination, uint count)
0x08248598 int Math_Div(int dividend, int divisor)
0x0824859c int Math_Mod(int dividend, int divisor)
0x082485b0 void Sys_RegisterRamReset(int resetFlags)
0x08248970 void GPIO_EnableClearFlag(void)
0x08248988 void GPIO_DisableSetFlag(void)
0x08249210 void GPIO_Enable(void)
0x08249224 void GPIO_Disable(void)
0x0824da48 void * memcpy'(void * dest, void * src, uint len) - Unsure how this is different from the memcpy at 0x08219db4
0x0860330c Engine call table (null-terminated array of struct { void(*)(int r0) fn; int id; })
0x08614d6c Master file table