ROM map (Boktai 1): Difference between revisions

From Boktai Hacking Wiki
No edit summary
mNo edit summary
Line 2: Line 2:
<!-- Please create a new page for maps of other languages! For example "ROM map (Boktai 1, J)". -->
<!-- Please create a new page for maps of other languages! For example "ROM map (Boktai 1, J)". -->


{| class="wikitable"
{| class="wikitable exportable"
|-
|-
! Address || Description
! Address || Description

Revision as of 16:42, 11 August 2024

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

Address Description
0x080001e0 void Sys_InterruptHandler(void)
0x08000318 void main(void)
0x08000b68 int Mem_FillArray_Scripted(void)
0x08000c54 int Math_Rng_Scripted(void)
0x08005788 void Textbox_CloseChoices_Scripted(void)
0x08005a10 void Textbox_Confirm_Scripted(int param_1)
0x080123f0 undefined Sensor_GetBars(void)
0x080413f8 bool Map_IsAreaCleared(uint area_id)
0x08044da0 void Textbox_CloseBox_Scripted(void)
0x0804533c int Inventory_GiveItem(int item_id, int amount)
0x08045424 int Inventory_GiveItem_Scripted(void)
0x08045560 int Inventory_GetAmount(int item_id)
0x080455b0 int Inventory_GetAmount_Scripted(int item_id)
0x08045638 undefined Inventory_HasGrenadeType(void)
0x08045690 void Inventory_GiveGunPart(int gun_part_type, uint gun_part_id)
0x080457c0 undefined Inventory_HasGunPart(undefined4 part_type, undefined4 part_index)
0x08127120 void Map_AddEvent(Event * event)
0x08127e64 undefined Map_SpawnChest_Scripted(void)
0x0812f8f0 void Textbox_Open(byte * pc)
0x0812fa48 undefined Textbox_Open_Scripted(void)
0x0812fbfc int Textbox_SetVar(int index, int value)
0x0812fc20 void Textbox_SetVar_Scripted(void)
0x081bf3ec void Math_WorldSpaceToViewSpace(short * view, short * world)
0x081bf48c void Math_WorldSpaceToScreenSpace(short * screen, short * world)
0x081c4b90 void * malloc(int bytes)
0x081c4c00 void free(void * ptr)
0x081c4c7c void memset32(int * destination, int value, int word_count)
0x081c4ca0 void bzero(void * ptr, uint bytes)
0x081c4d0c void memset(byte * destination, byte value, int byte_count)
0x081c4d84 void memcpy_slow(byte * destination, byte * source, int byte_count)
0x081c4dcc void memcpy_dma(void * source, void * dest, int count)
0x081c510c void SolarSensor_Clock(void)
0x081c55b0 void * Mft_bsearch(uint needle, undefined4 param_2, ushort file_id_low, undefined4 param_4, undefined4 param_5)
0x081c55ec void * Mft_FileGetItem(int * file_ptr, uint file_id_high, short item_id, uint file_id_low)
0x081c5644 void * Mft_LookupFile(uint id, mft_index * array, int start, int size)
0x081c567c void * Mft_GetItem(int mft_key, int item_id)
0x081c57c8 byte * Script_ReadLength(byte * pc, uint * length)
0x081c584c byte * Script_GetValueCore(byte * pc, uint * param_2, int * out_value)
0x081c5a74 undefined Script_StoreVariable(void)
0x081c5ac4 byte * Script_SeekToKeyword(char keyword)
0x081c5b58 int Script_GetValueAndUpdatePC(byte * pc)
0x081c5c14 short Script_ExpectStringRef(byte * pc)
0x081c5c70 byte * Script_GetPc(void)
0x081c5c98 int Script_GetValue(void)
0x081c5d00 int Script_GetKeywordValue(char keyword, int default)
0x081c5e28 byte * Script_LookupById'(int script_id, undefined * param_2)
0x081c5e64 byte * Script_LookupById(int script_id, undefined4 param_2)
0x081c5e74 int Script_ExecById(int script_id, undefined4 param_2)
0x081c5f04 script_index * Script_bsearch(script_index * index_start, int script_id, int index_size)
0x081c5f40 char * Textbox_LookupString(int id)
0x081c609c int Script_ExecBlock(byte * pc, undefined4 param_2, undefined4 param_3)
0x081c614c int Script_Exec(byte * pc, int param_2, int param_3)
0x081c6310 undefined Script_LoadPointer(int param_1, int param_2, int param_3, int param_4)
0x081c6464 undefined Script_StorePointerCore(void)
0x081c6508 undefined Script_StorePointer(void)
0x081c68b8 int Script_Ctrl_if(byte * pc)
0x081c68d4 int Script_Ctrl_switch(byte * pc)
0x081c6950 void Script_Ctrl_return(void)
0x081c6a64 undefined Script_RunOperator(void)
0x081c6b88 undefined Script_RunExpression(void)
0x081cbea0 undefined Math_InitRngTable(void)
0x081ce8e8 void Map_CallInitScript_Scripted(void)
0x081cea04 undefined Script_Ctrl_d4cb(void)
0x081cfac8 void Camera_SetBounds(int minX, int minY, int maxX, int maxY)
0x081cfb84 void Camera_SetBounds_Scripted(void)
0x081d02c4 int Camera_Unlock(void)
0x081d095c byte * Script_GetPcSlow(void)
0x081d83c0 void Mem_CpuFastSet(void * source, void * dest, uint wordcount)
0x081d83c4 void Mem_CpuSet(void * source, void * destination, uint count)
0x081d83c8 int Math_DivArm(int divisor, int dividend)
0x081d83cc int Math_ModArm(int divisor, int dividend)
0x081d83d4 void Mem_LZ77_Decompress8Bit(void * source, void * destination)
0x081d83d8 void Sound_BiasLow(void)
0x081d83e0 undefined Sound_BiasHigh(void)
0x081d83e8 uint Math_Sqrt(uint x)
0x081d83ec void Sys_WaitForVBlank(void)
0x082cce44 undefined switchD(void)
0x085b02c4 mft_header[] - Master file table