Jump to content

ROM map (Boktai 3): Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 18: Line 18:
|-
|-
| 0x800145c || undefined main(void)
| 0x800145c || undefined main(void)
|-
| 0x800211c || undefined Video_LoadGlobalTileset_Scripted(void)
|-
| 0x8032070 || int16_t Text_ParseEscapeSequence(char * text)
|-
|-
| 0x803223c || char * String_FindCharOrNullTerminator(char * s, char ch)
| 0x803223c || char * String_FindCharOrNullTerminator(char * s, char ch)
Line 23: Line 27:
null terminator. This function will return a pointer to the null
null terminator. This function will return a pointer to the null
terminator instead.
terminator instead.
|-
| 0x816381c || void Video_AnimatePalette(ushort * palEntry, byte * timer)
|-
| 0x8163f14 || undefined4 __Example_LoadTilemap(undefined4 actor, undefined4 tilemap, short param_3, undefined4 param_4, undefined * palette)
|-
| 0x8179320 || undefined BikeRace_UpdateSpeed(void)
|-
| 0x81793ec || undefined BikeRace_UpdateTimer(void)
|-
|-
| 0x81db474 || void OptionMenu_Update(OptionMenu * menu)
| 0x81db474 || void OptionMenu_Update(OptionMenu * menu)
Line 38: Line 50:
| 0x81dc154 || void Menu_RenderOption(undefined4 param_1, undefined4 param_2, undefined4 pc, undefined4 option_index)
| 0x81dc154 || void Menu_RenderOption(undefined4 param_1, undefined4 param_2, undefined4 pc, undefined4 option_index)
|-
|-
| 0x81dc178 || undefined Sprite_SetPos(Sprite * param_1, undefined4 param_2)
| 0x81dc178 || undefined Sprite_SetPos(Sprite * param_1, SpritePos * param_2)
|-
| 0x81dc244 || undefined EnterPasswordYesNo_Update(EnterPasswordYesNo * param_1)
|-
| 0x81dc448 || undefined EnterPasswordYesNo_Destroy(EnterPasswordYesNo * param_1)
|-
| 0x81dc470 || int EnterPasswordYesNo_Init(EnterPasswordYesNo * param_1)
|-
|-
| 0x81dc6d0 || void Time_ShowRegionMenu(int param_1)
| 0x81dc6d0 || void Time_ShowRegionMenu(int param_1)
Line 57: Line 75:
|-
|-
| 0x81ddbc0 || void NameEntry_HandleKeypad(int param_1)
| 0x81ddbc0 || void NameEntry_HandleKeypad(int param_1)
|-
| 0x81de5e4 || void TimeMenu_HideSprites(TimeMenu * menu)
|-
| 0x81de630 || void TimeMenu_InitNumberSprites(TimeMenu * menu)
|-
| 0x81de6c4 || void TimeMenu_InitFields(TimeMenu * menu)
|-
|-
| 0x81de780 || void TimeMenu_RenderCursor(TimeMenu * param_1)
| 0x81de780 || void TimeMenu_RenderCursor(TimeMenu * param_1)
Line 64: Line 88:
| 0x81dea60 || void TimeMenu_HandleKeypadUpDown(TimeMenu * param_1)
| 0x81dea60 || void TimeMenu_HandleKeypadUpDown(TimeMenu * param_1)
|-
|-
| 0x81dec2c || void TimeMenu_HandleKeypad(TimeMenu * param_1)
| 0x81dec2c || void TimeMenu_Update(TimeMenu * param_1)
|-
| 0x81dedf4 || undefined TimeMenu_Destroy(void)
|-
| 0x81dee38 || undefined TimeMenu_Init(TimeMenu * menu)
|-
| 0x81df0ac || undefined TimeMenu_Create(void)
|-
| 0x81df1d8 || void PasswordMenu_CalcCursorPosition(PasswordMenu * menu)
|-
| 0x81df32c || undefined PasswordMenu_HandleKeypadUp(void)
|-
|-
| 0x81df1d8 || void Password_CalcCursorPosition(PasswordMenu * menu)
| 0x81df510 || void PasswordMenu_HandleKeypadDown(PasswordMenu * menu)
|-
|-
| 0x81df32c || undefined Password_HandleKeypadUp(void)
| 0x81df694 || undefined PasswordMenu_HandleKeypadLeft(void)
|-
|-
| 0x81df510 || void Password_HandleKeypadDown(PasswordMenu * menu)
| 0x81df878 || undefined PasswordMenu_HandleKeypadRight(void)
|-
|-
| 0x81df694 || undefined Password_HandleKeypadLeft(void)
| 0x81dfa50 || void PasswordMenu_DrawPassword(PasswordMenu * menu)
|-
|-
| 0x81df878 || undefined Password_HandleKeypadRight(void)
| 0x81dfb18 || void PasswordMenu_DrawPasswordChar(PasswordMenu * menu, int position)
|-
|-
| 0x81dfb9c || void Password_RenderCaret(PasswordMenu * param_1)
| 0x81dfb9c || void PasswordMenu_RenderCaret(PasswordMenu * param_1)
|-
|-
| 0x81dfcb4 || void Password_HandleKeypad(PasswordMenu * param_1)
| 0x81dfc1c || bool PasswordMenu_AddCharacter(PasswordMenu * param_1)
|-
|-
| 0x81e00e8 || void Password_Destroy(PasswordMenu * param_1)
| 0x81dfc60 || int PasswordMenu_RemoveChar(PasswordMenu * menu)
|-
|-
| 0x81e013c || int Password_InitMenu(PasswordMenu * param_1)
| 0x81dfcb4 || void PasswordMenu_Update(PasswordMenu * param_1)
|-
|-
| 0x81e0474 || PasswordMenu * Password_AllocateMenu(void)
| 0x81e00e8 || void PasswordMenu_Destroy(PasswordMenu * param_1)
|-
| 0x81e013c || int PasswordMenu_Init(PasswordMenu * param_1)
|-
| 0x81e0474 || PasswordMenu * PasswordMenu_Create(void)
|-
|-
| 0x81e2f44 || undefined Help_InitHelpScreen(void)
| 0x81e2f44 || undefined Help_InitHelpScreen(void)
|-
| 0x8210a8c || int Album_GetAcquiredCount(void)
|-
| 0x8210b50 || int Album_GetPageCount(void)
|-
| 0x8210f04 || undefined AlbumMenu_InitUI(AlbumMenu * param_1)
|-
| 0x82112f4 || undefined AlbumMenu_Update(void)
|-
| 0x821159c || undefined AlbumMenu_Init(void)
|-
| 0x82116a8 || undefined AlbumMenu_Create(void)
|-
| 0x8213888 || undefined DollMenu_Update(void)
|-
|-
| 0x8213d10 || undefined Mem_InitializeMemoryWithDMA(void)
| 0x8213d10 || undefined Mem_InitializeMemoryWithDMA(void)
Line 114: Line 166:
|-
|-
| 0x82156b8 || void Video_ClearBackgroundMap(int bgNum)
| 0x82156b8 || void Video_ClearBackgroundMap(int bgNum)
|-
| 0x8215c8c || GlobalTileSetChunk * Video_FindTileSetChunk(GlobalTileSet * set, undefined2 id)
|-
| 0x8215d40 || int Video_LoadGlobalTileset(undefined4 bgNum, GlobalTileSetFile * tilesetFile, undefined4 blockCount, ushort * blockIds, undefined4 param_5)
Loads tilset from directory id_low=0x4f2d id_high=0xcee5 file=8e32
|-
| 0x8216e54 || TilemapFile * Video_LoadTileMap(ushort id)
|-
|-
| 0x8218be0 || int Video_LoadFont(void)
| 0x8218be0 || int Video_LoadFont(void)
|-
|-
| 0x8218c78 || void * Video_GetFont(void)
| 0x8218c78 || GBA_Tile * Video_GetFontNarrowData(void)
|-
| 0x8218c94 || undefined * Video_GetFontWideData(void)
|-
|-
| 0x8218cb0 || void Video_ClearBackgroundMap0(void)
| 0x8218cb0 || void Video_ClearBackgroundMap0(void)
Line 123: Line 184:
| 0x8218d1c || undefined Video_LoadCharFromFont(undefined4 param_1, undefined4 ch, undefined4 param_3, undefined4 param_4, undefined4 param_5)
| 0x8218d1c || undefined Video_LoadCharFromFont(undefined4 param_1, undefined4 ch, undefined4 param_3, undefined4 param_4, undefined4 param_5)
|-
|-
| 0x8218f2c || void Video_DrawChar(undefined4 ch, undefined4 x, undefined4 y, undefined4 param_4)
| 0x8218f2c || void Video_DrawCharNarrow(undefined4 ch, undefined4 x, undefined4 y, undefined4 param_4)
|-
| 0x8218fb4 || undefined Video_DrawCharWide(void)
|-
|-
| 0x82195e0 || void Sprite_Destroy(Sprite * param_1)
| 0x82195e0 || void Sprite_Destroy(Sprite * param_1)
Line 156: Line 219:
|-
|-
| 0x8219dd8 || void bzero(void * mem, uint bytes)
| 0x8219dd8 || void bzero(void * mem, uint bytes)
|-
| 0x8219ebc || undefined memcpy_slow(void)
|-
|-
| 0x8219f50 || undefined Actor_InitializeList(void)
| 0x8219f50 || undefined Actor_InitializeList(void)
|-
|-
| 0x8219f74 || void Actor_Install(Actor * param_1)
| 0x8219f74 || void Actor_Install(Actor * param_1)
Adds an actor to the actor list.
Adds an [[actor]] to the actor list.
|-
|-
| 0x8219f94 || void Actor_Uninstall(Actor * * param_1)
| 0x8219f94 || void Actor_Uninstall(Actor * * param_1)
Line 213: Line 278:
|-
|-
| 0x821afd8 || int Script_Exec(byte * pc, int param_2)
| 0x821afd8 || int Script_Exec(byte * pc, int param_2)
|-
| 0x821b148 || void Save_BackupStatAndWorld(void)
|-
|-
| 0x821b20c || undefined Script_LoadPointer(byte * param_1, uint * param_2, int param_3, uint * param_4)
| 0x821b20c || undefined Script_LoadPointer(byte * param_1, uint * param_2, int param_3, uint * param_4)
Line 221: Line 288:
|-
|-
| 0x821ba5c || int Script_RunExpression(byte * pc)
| 0x821ba5c || int Script_RunExpression(byte * pc)
|-
| 0x8225410 || int Save_BackupStatAndWorld_Scripted(void)
|-
|-
| 0x82284f4 || void Time_ClearData(void)
| 0x82284f4 || void Time_ClearData(void)
|-
| 0x8228548 || int Time_GetDaysInMonth(undefined4 year, undefined4 month)
|-
| 0x822867c || byte Time_GetDayOfWeek(undefined4 year, undefined4 month, undefined4 day)
This uses Zeller's congruence to compute the day of the week of a given date.
|-
| 0x822874c || uint Time_DateToBCD(int param_1, int param_2, int param_3)
|-
| 0x8228c40 || int Time_Set(int year, int month, int day, byte hours, undefined1 minutes, byte seconds, undefined4 writeToRtcChip)
|-
| 0x8228d7c || undefined Time_GetRtcDate(void)
|-
| 0x8228d88 || undefined Time_GetRtcHours(void)
|-
| 0x8228d94 || undefined Time_GetRtcMinutes(void)
|-
| 0x8229180 || int Time_WriteToRtcChip(undefined4 year, undefined4 month, undefined4 date, undefined1 hours, undefined1 minutes, undefined1 seconds)
|-
|-
| 0x822a7a8 || 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)
| 0x822a7a8 || 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)