ROM map (Boktai 2): Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|- | |- | ||
| 0x8000350 || undefined main(void) | | 0x8000350 || undefined main(void) | ||
|- | |||
| 0x80005cc || undefined Video_GenerateBackgroundMaps(void) | |||
|- | |||
| 0x8011054 || undefined PasswordDecoder_Setup(void) | |||
|- | |||
| 0x80110a8 || int PasswordDecoder_CharToIndex(uchar * decodeTable, undefined4 ch) | |||
|- | |||
| 0x80110c8 || int PasswordDecoder_TextToIndices(PasswordDecoder * dec) | |||
|- | |||
| 0x8011100 || undefined PasswordDecoder_GetBits(void) | |||
|- | |||
| 0x8011164 || bool PasswordDecoder_IsLegalNameChar(char ch) | |||
|- | |||
| 0x801118c || int PasswordDecoder_IsIllegalName(PasswordDecoder * dec) | |||
|- | |||
| 0x80111e0 || int PasswordDecoder_Parse(PasswordDecoder * dec) | |||
|- | |||
| 0x80113d0 || void PasswordDecoder_NOP(void) | |||
|- | |||
| 0x80113e0 || void PasswordDecoder_SaveChanges(int param_1, uchar * param_2) | |||
|- | |||
| 0x8011424 || int PasswordDecoder_StripTags(uchar * out, uchar * in, undefined4 count) | |||
|- | |||
| 0x8011490 || int PasswordDecoder_Decode(uchar * text, undefined4 param_2, undefined4 param_3, undefined4 param_4) | |||
|- | |||
| 0x8012c14 || undefined PasswordScreen_EncodeBits(PasswordScreen * scr, undefined4 param_2, undefined4 param_3, undefined4 param_4) | |||
|- | |||
| 0x8012cd4 || undefined PasswordScreen_CalculatePassword(PasswordScreen * scr) | |||
|- | |||
| 0x8012f04 || undefined PasswordScreen_Update(void) | |||
|- | |||
| 0x8012f58 || int PasswordScreen_Destroy(int param_1) | |||
|- | |||
| 0x8012f78 || int PasswordScreen_Init(PasswordScreen * scr) | |||
|- | |||
| 0x801314c || undefined PasswordScreen_Create(void) | |||
|- | |- | ||
| 0x8048a24 || undefined Text_LookupEscape(void) | | 0x8048a24 || undefined Text_LookupEscape(void) | ||
Line 13: | Line 49: | ||
|- | |- | ||
| 0x80a83ac || undefined Django_CheckLvUp(void) | | 0x80a83ac || undefined Django_CheckLvUp(void) | ||
|- | |||
| 0x80b3adc || void Bank_ApplyInterest(void) | |||
|- | |- | ||
| 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1) | | 0x8214e3c || undefined TimeMenu_HandleKeypad(TimeMenu * param_1) | ||
Line 19: | Line 57: | ||
|- | |- | ||
| 0x821bb10 || void Video_DrawText(undefined4 x, undefined4 y, char * text) | | 0x821bb10 || void Video_DrawText(undefined4 x, undefined4 y, char * text) | ||
|- | |||
| 0x822a794 || undefined Sys_WaitForMP2KVblankDone(void) | |||
|- | |||
| 0x822a7ec || undefined IRQ_VSync(void) | |||
|- | |||
| 0x822be84 || undefined Video_GetBackgroundMap(void) | |||
|- | |||
| 0x822c150 || undefined Video_CopyBGMapToVRAM(void) | |||
|- | |||
| 0x822cc6c || undefined Video_GenerateBGMap(undefined4 bgNum, undefined4 param_2, undefined4 param_3, undefined2 param_4, undefined2 param_5) | |||
|- | |||
| 0x822cc84 || void Video_GenerateBGMapCore(int bgNum, int param_2, int param_3, undefined2 param_4, undefined2 param_5, ushort * param_6) | |||
|- | |- | ||
| 0x822f390 || undefined Video_DrawCharNarrow(void) | | 0x822f390 || undefined Video_DrawCharNarrow(void) | ||
Line 66: | Line 116: | ||
|- | |- | ||
| 0x8231e8c || int Script_GetValueAtSafe(byte * pc) | | 0x8231e8c || int Script_GetValueAtSafe(byte * pc) | ||
|- | |||
| 0x8231ec0 || int Script_ParseStringRef(int param_1) | |||
|- | |- | ||
| 0x8231f1c || uint8_t * Script_GetPc(void) | | 0x8231f1c || uint8_t * Script_GetPc(void) | ||
Line 72: | Line 124: | ||
|- | |- | ||
| 0x8231f8c || int Script_GetValueSafe(void) | | 0x8231f8c || int Script_GetValueSafe(void) | ||
|- | |||
| 0x8231fac || int Script_GetKeywordValue(char param_1, int fallback) | |||
|- | |- | ||
| 0x8232070 || undefined Script_RunControl(void) | | 0x8232070 || undefined Script_RunControl(void) | ||
Line 84: | Line 138: | ||
|- | |- | ||
| 0x8232330 || int Script_ExecBlock(byte * pc, undefined4 param_2) | | 0x8232330 || int Script_ExecBlock(byte * pc, undefined4 param_2) | ||
|- | |||
| 0x82323b8 || void Script_ExecByPointer(byte * param_1, undefined4 param_2) | |||
|- | |- | ||
| 0x82323dc || int Script_Exec(byte * pc, int param_2) | | 0x82323dc || int Script_Exec(byte * pc, int param_2) | ||
Line 98: | Line 154: | ||
|- | |- | ||
| 0x8232e60 || int Script_RunExpression(byte * pc) | | 0x8232e60 || int Script_RunExpression(byte * pc) | ||
|- | |||
| 0x82382bc || undefined Sys_DisableTimer3IRQ(void) | |||
|- | |||
| 0x8238494 || undefined SIO_DoDisableMultiplay(void) | |||
|- | |||
| 0x82387b4 || int SIO_DisableMultiplay(void) | |||
|- | |||
| 0x8238efc || undefined SIO_DoDisableNormal(void) | |||
|- | |||
| 0x8239454 || int SIO_DisableNormal(void) | |||
|- | |||
| 0x823b188 || undefined Sys_SoftReset(void) | |||
|- | |- | ||
| 0x823b5f8 || undefined Save_BackupStatAndWorld_Scripted(void) | | 0x823b5f8 || undefined Save_BackupStatAndWorld_Scripted(void) | ||
Line 103: | Line 171: | ||
| 0x823b70c || undefined Script_Ctrl_9906(void) | | 0x823b70c || undefined Script_Ctrl_9906(void) | ||
|- | |- | ||
| 0x823d2a4 || int Camera_Update( | | 0x823b73c || int Script_Ctrl_b745(void) | ||
|- | |||
| 0x823ba30 || undefined Script_FindEngineCall(void) | |||
|- | |||
| 0x823be3c || undefined Map_LoadMapScripted(void) | |||
|- | |||
| 0x823bf24 || undefined Camera_SetTilemapOffset(void) | |||
|- | |||
| 0x823bfb0 || undefined4 Camera_ApplyBounds1(Camera * param_1, vec3 * param_2) | |||
|- | |||
| 0x823c008 || undefined4 Camera_ApplyBounds2(Camera * param_1, vec3 * param_2) | |||
|- | |||
| 0x823c0a0 || void Camera_ApplyBounds(Camera * param_1, vec3 * param_2) | |||
|- | |||
| 0x823c260 || undefined Camera_Translate(void) | |||
|- | |||
| 0x823cac0 || void Camera_SetBoundsType1(short * param_1, short * param_2) | |||
|- | |||
| 0x823cb2c || undefined Camera_SetBoundsType1Scripted(void) | |||
|- | |||
| 0x823cbbc || undefined4 Camera_SetBoundsType2(short * param_1, short * param_2) | |||
|- | |||
| 0x823cc20 || undefined Camera_SetBoundsType2Scripted(void) | |||
|- | |||
| 0x823d2a4 || int Camera_Update(Camera * cam) | |||
|- | |- | ||
| 0x823d380 || undefined Camera_Destroy(void) | | 0x823d380 || undefined Camera_Destroy(void) | ||
|- | |- | ||
| 0x823d3ac || undefined Camera_Init( | | 0x823d3ac || undefined Camera_Init(Camera * cam, undefined4 param_2) | ||
|- | |- | ||
| 0x823d518 || undefined Camera_Create(void) | | 0x823d518 || undefined Camera_Create(void) | ||
|- | |||
| 0x823ea00 || undefined Time_GetRtcSeconds(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) | | 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) | ||
Line 126: | Line 220: | ||
|- | |- | ||
| 0x8245030 || void MP2K_SongNumStart(int param_1) | | 0x8245030 || void MP2K_SongNumStart(int param_1) | ||
|- | |||
| 0x8245164 || undefined MP2K_StopChannels(void) | |||
|- | |||
| 0x82455f4 || void MP2K_ResetSoundBuffer(void) | |||
|- | |- | ||
| 0x82456d8 || undefined MP2K_SoundVSync(void) | | 0x82456d8 || undefined MP2K_SoundVSync(void) | ||
|- | |||
| 0x8247e14 || void Sensor_DoEnableIO(void) | |||
|- | |||
| 0x8247ee0 || void Sensor_DoDisableIO(void) | |||
|- | |||
| 0x8247f2c || void Sensor_Tick(void) | |||
|- | |||
| 0x8248014 || undefined Sensor_EnableIO(void) | |||
|- | |||
| 0x8248034 || void Sensor_DisableIO(void) | |||
|- | |||
| 0x8248050 || undefined Sensor_Enable(void) | |||
|- | |||
| 0x8248090 || void Sensor_Disable(void) | |||
|- | |||
| 0x82480bc || undefined Sensor_GetRawLevel(void) | |||
|- | |||
| 0x824ca94 || void Mem_CpuSet(void * src, void * dst, uint length) | |||
|- | |- | ||
| 0x824ca98 || int Math_Div(int dividend, int divisor) | | 0x824ca98 || int Math_Div(int dividend, int divisor) | ||
|- | |- | ||
| 0x824caa0 || int Math_Mod(int dividend, int divisor) | | 0x824caa0 || int Math_Mod(int dividend, int divisor) | ||
|- | |||
| 0x824cad4 || void Sys_DoSoftReset(RegisterRamResetFlags resetFlags) | |||
|- | |||
| 0x824ce8c || undefined Maybe_RTC_Disable(void) | |||
|- | |||
| 0x824d728 || void Sys_DisableGPIO(void) | |||
|- | |- | ||
| 0x824d740 || int CallParam2(void * param_1, ActionOfPtr * param_2) | | 0x824d740 || int CallParam2(void * param_1, ActionOfPtr * param_2) |
Latest revision as of 12:15, 10 May 2025
This is the ROM map for Boktai 2 (U).
Address | Description |
---|---|
0x8000350 | undefined main(void) |
0x80005cc | undefined Video_GenerateBackgroundMaps(void) |
0x8011054 | undefined PasswordDecoder_Setup(void) |
0x80110a8 | int PasswordDecoder_CharToIndex(uchar * decodeTable, undefined4 ch) |
0x80110c8 | int PasswordDecoder_TextToIndices(PasswordDecoder * dec) |
0x8011100 | undefined PasswordDecoder_GetBits(void) |
0x8011164 | bool PasswordDecoder_IsLegalNameChar(char ch) |
0x801118c | int PasswordDecoder_IsIllegalName(PasswordDecoder * dec) |
0x80111e0 | int PasswordDecoder_Parse(PasswordDecoder * dec) |
0x80113d0 | void PasswordDecoder_NOP(void) |
0x80113e0 | void PasswordDecoder_SaveChanges(int param_1, uchar * param_2) |
0x8011424 | int PasswordDecoder_StripTags(uchar * out, uchar * in, undefined4 count) |
0x8011490 | int PasswordDecoder_Decode(uchar * text, undefined4 param_2, undefined4 param_3, undefined4 param_4) |
0x8012c14 | undefined PasswordScreen_EncodeBits(PasswordScreen * scr, undefined4 param_2, undefined4 param_3, undefined4 param_4) |
0x8012cd4 | undefined PasswordScreen_CalculatePassword(PasswordScreen * scr) |
0x8012f04 | undefined PasswordScreen_Update(void) |
0x8012f58 | int PasswordScreen_Destroy(int param_1) |
0x8012f78 | int PasswordScreen_Init(PasswordScreen * scr) |
0x801314c | undefined PasswordScreen_Create(void) |
0x8048a24 | undefined Text_LookupEscape(void) |
0x8048bf0 | char * String_FindCharOrNullTerminator(char * param_1, char param_2) |
0x80a83ac | undefined Django_CheckLvUp(void) |
0x80b3adc | void Bank_ApplyInterest(void) |
0x8214e3c | undefined TimeMenu_HandleKeypad(TimeMenu * param_1) |
0x821653c | undefined OptionMenu_Update(void) |
0x821bb10 | void Video_DrawText(undefined4 x, undefined4 y, char * text) |
0x822a794 | undefined Sys_WaitForMP2KVblankDone(void) |
0x822a7ec | undefined IRQ_VSync(void) |
0x822be84 | undefined Video_GetBackgroundMap(void) |
0x822c150 | undefined Video_CopyBGMapToVRAM(void) |
0x822cc6c | undefined Video_GenerateBGMap(undefined4 bgNum, undefined4 param_2, undefined4 param_3, undefined2 param_4, undefined2 param_5) |
0x822cc84 | void Video_GenerateBGMapCore(int bgNum, int param_2, int param_3, undefined2 param_4, undefined2 param_5, ushort * param_6) |
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) |
0x8231ec0 | int Script_ParseStringRef(int param_1) |
0x8231f1c | uint8_t * Script_GetPc(void) |
0x8231f44 | int Script_GetValue(void) |
0x8231f8c | int Script_GetValueSafe(void) |
0x8231fac | int Script_GetKeywordValue(char param_1, int fallback) |
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) |
0x82323b8 | void Script_ExecByPointer(byte * param_1, 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) |
0x82382bc | undefined Sys_DisableTimer3IRQ(void) |
0x8238494 | undefined SIO_DoDisableMultiplay(void) |
0x82387b4 | int SIO_DisableMultiplay(void) |
0x8238efc | undefined SIO_DoDisableNormal(void) |
0x8239454 | int SIO_DisableNormal(void) |
0x823b188 | undefined Sys_SoftReset(void) |
0x823b5f8 | undefined Save_BackupStatAndWorld_Scripted(void) |
0x823b70c | undefined Script_Ctrl_9906(void) |
0x823b73c | int Script_Ctrl_b745(void) |
0x823ba30 | undefined Script_FindEngineCall(void) |
0x823be3c | undefined Map_LoadMapScripted(void) |
0x823bf24 | undefined Camera_SetTilemapOffset(void) |
0x823bfb0 | undefined4 Camera_ApplyBounds1(Camera * param_1, vec3 * param_2) |
0x823c008 | undefined4 Camera_ApplyBounds2(Camera * param_1, vec3 * param_2) |
0x823c0a0 | void Camera_ApplyBounds(Camera * param_1, vec3 * param_2) |
0x823c260 | undefined Camera_Translate(void) |
0x823cac0 | void Camera_SetBoundsType1(short * param_1, short * param_2) |
0x823cb2c | undefined Camera_SetBoundsType1Scripted(void) |
0x823cbbc | undefined4 Camera_SetBoundsType2(short * param_1, short * param_2) |
0x823cc20 | undefined Camera_SetBoundsType2Scripted(void) |
0x823d2a4 | int Camera_Update(Camera * cam) |
0x823d380 | undefined Camera_Destroy(void) |
0x823d3ac | undefined Camera_Init(Camera * cam, undefined4 param_2) |
0x823d518 | undefined Camera_Create(void) |
0x823ea00 | undefined Time_GetRtcSeconds(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) |
0x8245164 | undefined MP2K_StopChannels(void) |
0x82455f4 | void MP2K_ResetSoundBuffer(void) |
0x82456d8 | undefined MP2K_SoundVSync(void) |
0x8247e14 | void Sensor_DoEnableIO(void) |
0x8247ee0 | void Sensor_DoDisableIO(void) |
0x8247f2c | void Sensor_Tick(void) |
0x8248014 | undefined Sensor_EnableIO(void) |
0x8248034 | void Sensor_DisableIO(void) |
0x8248050 | undefined Sensor_Enable(void) |
0x8248090 | void Sensor_Disable(void) |
0x82480bc | undefined Sensor_GetRawLevel(void) |
0x824ca94 | void Mem_CpuSet(void * src, void * dst, uint length) |
0x824ca98 | int Math_Div(int dividend, int divisor) |
0x824caa0 | int Math_Mod(int dividend, int divisor) |
0x824cad4 | void Sys_DoSoftReset(RegisterRamResetFlags resetFlags) |
0x824ce8c | undefined Maybe_RTC_Disable(void) |
0x824d728 | void Sys_DisableGPIO(void) |
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 |