Engine calls (Boktai 2)

From Boktai Hacking Wiki
Revision as of 16:55, 9 August 2024 by Raphi (talk | contribs) (Created page with "This is a list of the engine calls (control 0x9906 and control 0xb745 opcodes) supported in Boktai 2 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random. = control 0x9906 = {| class="wikitable" |- ! ID || Address || # Uses || Descriptio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a list of the engine calls (control 0x9906 and control 0xb745 opcodes) supported in Boktai 2 scripts. These all refer to native (THUMB) functions stored in the ROM. The tables are sorted by address, as similar functions tend to be stored close together in the ROM, whereas IDs are relatively random.

control 0x9906

ID Address # Uses Description
0xb4b4 0x08000aec 23
0x9053 0x08001664 4
0x4ae5 0x080026ac 19
0x6978 0x08002948 11
0xe28b 0x08002f40 2
0xd9ae 0x08004610 79
0x9531 0x08005bc8 1
0xed07 0x08007d24 1
0x2d2b 0x080085b0 26
0x5da5 0x08009014 2
0x83b2 0x08009804 70
0x95a8 0x0800c3c4 1
0xaa65 0x0800c7ac 1
0xc9bc 0x0800dac8 12
0x55c2 0x0800e45c 1
0xb426 0x0800f974 4
0x4d4d 0x0800fc4c 5
0x329b 0x08010ccc 1
0x95f8 0x08010ffc 1
0xb0bc 0x080116b0 4
0xe534 0x08012b44 2
0x9519 0x0801314c 1
0xec96 0x080134f8 4
0xe435 0x08017a0c 7
0x8ecd 0x080187e8 2
0x517b 0x08018c48 3
0xcf82 0x08018df8 2
0x5e27 0x08018f14 1
0x99ca 0x08019778 16
0x82b7 0x080199b0 2
0x4b15 0x08019f58 3
0x4f5c 0x0801a738 1
0xfbe5 0x0801a9dc 1
0x78c9 0x0801ac58 1
0x12c4 0x0801b0cc 1
0xa687 0x0801b248 1
0xace3 0x0801b490 1
0xd9d3 0x0801b550 1
0xda0b 0x0801e13c 1
0xef6f 0x0801f648 1
0x6d69 0x08021f98 6
0x4e69 0x080222c8 2
0x730a 0x080228f0 2
0x172b 0x08027da4 4
0xba4b 0x08036698 14
0x9386 0x0803c094 5
0x4ab1 0x08040c6c 1
0x286f 0x08043f88 82
0x0e37 0x08048748 2
0xdfc6 0x08049d0c 7
0x6273 0x0804a4a8 10
0x3df7 0x0804a904 8
0xb88c 0x0804b144 1
0xfb53 0x0804b8dc 1
0xd53d 0x0804ecb4 2
0x9284 0x0804f708 1
0xaf33 0x08050bac 1
0x723e 0x08052a24 1
0x5645 0x08055364 2
0x1b77 0x080557ec 5
0xd562 0x080557f0 5
0x3d0c 0x08055a8c 4
0xf5eb 0x0807f538 36
0x5941 0x0807f6f8 1
0x2b06 0x0808477c 4
0xbd74 0x0808547c 4
0x0b50 0x08089aa8 1
0x162e 0x08089c0c 1
0x28cb 0x0808a400 6
0xcc28 0x0809d000 3
0x1b24 0x0809e0c8 1
0x5ccc 0x0809f0c0 3
0xdc21 0x0809f7c8 1
0x71ba 0x080a08f4 18
0xa628 0x080a1170 25
0xba36 0x080a132c 1
0xef66 0x080a1828 2
0x25f3 0x080a1b38 1
0x3db0 0x080a1fa8 1
0xf156 0x080a2698 1
0xa8f1 0x080a3c68 1
0x7c62 0x080a4224 1
0x4759 0x080a472c 2
0x3117 0x080a5abc 116
0x8af6 0x080a5fb8 7
0xcf58 0x080a6430 2
0xd852 0x080a6e2c 1
0x92be 0x080a72a0 1
0xfb8c 0x080a7cf4 2
0xb164 0x080a8990 1
0x4063 0x080a975c 4
0x87fe 0x080aa228 1
0xc438 0x080ab1b4 1
0xb6ff 0x080acda8 1
0x5292 0x080ad380 1
0xcbb0 0x080b29c4 2
0x7f5e 0x080b49b0 1
0xe9d3 0x080b5c48 1
0xe02e 0x080b9514 3
0x3019 0x080bcfc4 4
0x7300 0x080bd004 5
0x744f 0x080bed00 4
0x571d 0x080bfc74 4
0xb3d1 0x080c0cf4 1
0xd3a9 0x080c0f88 2
0x3361 0x080c1600 1
0xb87b 0x080c289c 2
0xd37f 0x080cb460 6
0x980b 0x080d8574 1
0x778b 0x080e1784 8
0xaeb2 0x080e1b68 7
0xec2a 0x080eed38 3
0xd854 0x080f9e88 3
0xa1d7 0x0819b0ac 1
0xc419 0x081d1510 11
0xa16f 0x081d57bc 52
0xc60f 0x081d886c 3
0x7999 0x081db6f8 3
0x08f4 0x081dc278 1
0xc783 0x081dcf00 2
0xb85f 0x081de224 1
0x501b 0x081e1498 1
0x150f 0x081e2204 3
0xa0a6 0x081e2b48 1
0x92ed 0x081e2bf4 1
0x8b8e 0x081e8f68 1
0x0074 0x08201400 5
0x34ea 0x0820f4dc 1
0x8d2d 0x08211a38 1
0x52bf 0x0821253c 1
0x4ddf 0x082128b0 1
0xcf79 0x082141ec 3
0xa288 0x0821aad8 5
0x6367 0x0821b098 1
0x0fc5 0x0821ba38 2
0x8ec8 0x0821c534 2
0x0623 0x08222a8c 6
0x83e5 0x082234f4 1
0x8aab 0x0822a4cc 1
0xb8b9 0x0823bbfc 4
0xc0b0 0x0823d518 277
0x430d 0x0823e0c4 685
0x794c 0x0824173c 3
0xb639 0x08241ee8 257
0x2d36 0x08242a18 3

control 0xb745

ID Address # Uses Description
0x7a27 0x08000cb0 317
0xe4b1 0x08000df4 6
0x11d4 0x08000eec 310
0x33aa 0x08001004 3
0xd285 0x08001828 2
0xca7d 0x0800201c 18
0x62bc 0x080020bc 1
0x9ec0 0x080027bc 1
0x0ad8 0x08002fdc 4
0x0e76 0x0800377c 10
0xe02a 0x08004a04 2
0xb76c 0x08004ba4 7
0x3e1f 0x08004fec 22
0xb8c7 0x08005034 2
0xfebb 0x0800512c 65
0x71e7 0x08005d1c 134
0x0955 0x0800720c 3
0xddcf 0x08007640 7
0x90b4 0x080077a8 3
0xfd86 0x08007820 1
0x2d8f 0x08007d94 2
0x2e1c 0x080085f8 3
0x8602 0x08008870 39
0x19cc 0x080088bc 10
0xb0b4 0x08009124 4
0x883a 0x08009850 23
0x2740 0x08009a14 6
0x1f65 0x08009a58 3
0x0866 0x0800a2f8 1
0x2306 0x0800ca58 1
0xa062 0x0800db80 1
0x2b8c 0x0800e908 1
0x4383 0x08015df0 5
0x3535 0x08016db0 2
0x7e73 0x08018860 1
0x164d 0x08018894 1
0x800c 0x08018c84 1
0x3a89 0x08019150 4
0xd4e3 0x0801fa6c 3
0x8b67 0x0801fe00 64
0xd6f7 0x0801fe9c 32
0xcb30 0x080200ec 1
0xeaaf 0x08020184 1
0x7348 0x08022434 149
0xd0c3 0x080224f8 25
0x2502 0x0802253c 365
0x99fa 0x0802323c 20
0x1ea4 0x08037098 1
0xc5d8 0x0803c8e0 1
0xddd0 0x08041a50 64
0x5517 0x08041afc 17
0x43d6 0x08041c88 27
0x6688 0x08041cf4 1
0x0e7c 0x08044fec 1
0x727f 0x0804777c 3
0xc556 0x0804780c 16
0x1c64 0x08047930 1216
0xd401 0x08047a40 20
0xab3c 0x08047b90 55
0x2575 0x08047bd0 2
0x352d 0x08047c10 199
0x75af 0x08047c2c 83
0xadd2 0x08047cbc 8
0xdd91 0x08047d28 15
0x3699 0x0804b918 3
0xd935 0x0804e1f0 1
0xc015 0x0804e660 1
0x877f 0x08050d4c 3
0xe70e 0x080553b8 1
0xb294 0x0805540c 1
0xe14b 0x0807b104 16
0x5986 0x0807b1f0 21
0xe756 0x0807b210 1
0x1bee 0x0807b234 10
0xd4b5 0x0807b24c 1
0x440f 0x0807b27c 3
0xea00 0x0807b2bc 3
0x0e15 0x0807b3b4 5
0x5fda 0x0807b3ec 9
0xcd57 0x0807b424 9
0x650b 0x0807b500 4
0xb603 0x0807b590 6
0x4a8d 0x0807b5bc 4
0xd9b7 0x0807b600 2
0x898d 0x0807b63c 1
0xfd12 0x0807b658 6
0xe9e2 0x0807b680 1
0x41d3 0x0807b6a8 6
0x8cfe 0x0807b6d0 5
0x237a 0x0807b6f8 1
0x0353 0x0807b724 1
0xd8df 0x0807b744 1
0x7117 0x0807b790 1
0x70c6 0x0807b87c 6
0xefe6 0x0807d2a0 14
0x8fa3 0x0807d2c8 2
0x6f85 0x0807d348 2
0x3613 0x0807d370 240
0x9ffd 0x0807d3a0 15
0x933c 0x0807d440 53
0xe990 0x0807d4c0 1
0x9763 0x0807d540 7
0xbb01 0x0807d5f4 20
0xb83e 0x0807d668 10
0x7843 0x0807d698 2
0xe4a3 0x0807d6d0 1
0x409d 0x0807d700 6
0x40d7 0x0807d730 1
0x58d7 0x0807d768 1
0x3705 0x0807d7b0 1
0x7a25 0x0807d800 2
0x172d 0x0807d84c 4
0x4127 0x0807d8b4 3
0x2593 0x0807d930 4
0xa2e1 0x0807d960 1
0xcafe 0x0807d9d0 1
0xaf43 0x0807da08 1
0xddee 0x0807da40 1
0xc233 0x0807da78 1
0xb683 0x0807dab0 1
0x9ac8 0x0807dae8 1
0x490f 0x0807db9c 22
0x827a 0x0807dd2c 3
0x4cdd 0x0807dd68 17
0x4c4d 0x0807ddd4 22
0x30cc 0x0807ddf4 3
0xd24b 0x08086344 1
0x6b24 0x08086740 1
0x7566 0x080867ec 7
0x9bc7 0x08086a18 1
0x4561 0x08086d58 2
0xfee0 0x08086e64 6
0x7a0a 0x08086e84 23
0x82b3 0x0808fe28 3
0x515d 0x0808fe4c 6
0x9817 0x0808fe74 18
0xaa62 0x0808fe98 13
0x54c1 0x0808fec0 1
0x0c1b 0x0808ff88 49
0x0bfd 0x0808ffdc 18
0xda19 0x080910a0 36
0x9fb7 0x08091844 17
0xdf85 0x0809c3b4 2
0xccd9 0x0809c3c0 2
0xc6aa 0x0809c3cc 352
0x2fa0 0x0809c404 11
0x99f8 0x0809c4b4 2
0x94eb 0x0809c794 1
0xefd1 0x0809c7dc 10
0xd25f 0x0809e460 5
0x320c 0x0809e53c 1
0xeb42 0x0809e6e8 2
0x815c 0x0809e760 2
0x1dbe 0x080a0148 1
0xddf8 0x080a0978 3
0x2924 0x080a0984 3
0xef19 0x080a0990 23
0x554b 0x080a09b4 26
0x3062 0x080a09fc 4
0x5460 0x080a11d4 1
0x0238 0x080a121c 2
0x8459 0x080a1398 1
0x274e 0x080a1408 5
0xb005 0x080a149c 2
0x1e98 0x080a5050 1
0x31fe 0x080a50c0 46
0xc765 0x080a512c 6
0xf661 0x080a5150 41
0x34c2 0x080a5168 29
0xb47e 0x080a5184 2
0xd7f4 0x080a51ac 82
0xe77c 0x080a52b0 3
0x8337 0x080a5740 46
0x44cd 0x080a5b80 20
0xed1f 0x080a5bb8 2
0xebff 0x080a5bf0 10
0x9c3f 0x080a5c18 8
0x997b 0x080a5c6c 2
0xeab4 0x080a5ddc 8
0xa61c 0x080a6478 7
0x79b7 0x080a65f4 13
0x8089 0x080a6c4c 2
0x7935 0x080a6e6c 54
0x7636 0x080a6e9c 46
0x3469 0x080a6f58 154 rand(p=upper_bound)
0x5f5f 0x080a6fbc 13
0x43a0 0x080a7008 22
0x6206 0x080a7098 1
0x6057 0x080a70ec 1
0x1320 0x080a70f8 14
0x15b3 0x080a7118 5
0xf04a 0x080a7598 1
0xded5 0x080a77f4 2
0x075c 0x080a9698 1
0xaf8e 0x080a96b4 6
0x55c5 0x080ac7cc 3
0x277a 0x080ac870 2
0x054a 0x080ae138 2
0x6414 0x080b23cc 4
0x8400 0x080b23fc 1
0x29f1 0x080b24c0 1
0xf993 0x080b24ec 2
0x44bf 0x080b250c 1
0x61a0 0x080b3adc 1
0x9e8b 0x080b3ba0 8
0x7a77 0x080b3bb4 6
0xa864 0x080c02f0 1
0x09ea 0x080ca68c 1
0xe9da 0x080d7e48 2
0x42ef 0x080d81b4 1
0xae71 0x080dd5ec 1
0x1488 0x080ddbc4 2
0xe0e1 0x080e04d0 2
0x983a 0x080e0514 2
0x8954 0x080e1508 7
0xfd6b 0x080e17d4 1
0x9700 0x080e197c 2
0xa2e4 0x080ec7dc 7
0xc12a 0x080ed7ec 5
0x62aa 0x080edabc 5
0x4fd1 0x080edb78 6
0x60fb 0x080edc58 3
0x4e22 0x080edcac 2
0xe019 0x080ee050 8
0x6790 0x080ee080 4
0xb3d7 0x080ef274 1
0xf200 0x080ef3dc 25
0xe1c6 0x080ef76c 2
0x2571 0x080ef80c 3
0x1e97 0x080ef830 2
0x05a5 0x081030d4 2
0xad03 0x0811572c 6
0x98ec 0x08121f3c 1
0x6913 0x0812e0c8 1
0x87e4 0x08132768 1
0x0ac7 0x0813a5b0 1
0x680e 0x0813eb14 2
0xf8be 0x08142cd8 1
0x9e8d 0x08146c10 1
0xbef5 0x0814a3bc 1
0xf836 0x08153034 1
0xac98 0x08161f30 1
0xc3bc 0x08166f2c 2
0xe131 0x0816afec 1
0xccd3 0x08170c70 7
0x706d 0x0817beb4 1
0x8e9f 0x08184c4c 4
0x3f99 0x08188df0 1
0x13ac 0x08195e30 1
0x2d30 0x081a31f0 1
0x1744 0x081a6d50 1
0x522c 0x081aeb14 1
0x94d9 0x081b8aa4 2
0x8c35 0x081c634c 3
0xca73 0x081d0000 2
0x2fa5 0x081d0f54 7
0x779f 0x081d135c 10
0xf04b 0x081d1654 1
0x2207 0x081d20bc 17
0x820b 0x081d20e8 15
0x0101 0x081d216c 7
0xab8e 0x081d24dc 2
0xa4fc 0x081d4ea4 11
0x7e33 0x081d58d0 14
0xae3a 0x081d5958 7
0x3e91 0x081d5990 7
0x5d74 0x081d5a30 25
0x15ed 0x081d5b04 3
0xced9 0x081d5b98 4
0x0bce 0x081d5bf4 1
0xf1f9 0x081d6014 1
0x377d 0x081d8398 1
0x7b9f 0x081d9038 1
0x8cc7 0x081d9188 17
0xbe46 0x081e0020 1
0x33c4 0x081e00d8 1
0x9a9f 0x081e0528 1
0x15a9 0x08201458 2
0xbb34 0x08206404 44
0x8918 0x0820669c 3
0x6cbe 0x082067d8 1
0x4ebf 0x08206854 11
0x11d9 0x082068cc 1
0x3004 0x08206e20 8
0xc347 0x082077b4 10
0x8894 0x08207aa8 1
0xf33f 0x082081e4 10
0xb189 0x082088bc 6
0xd774 0x0820a1c8 11
0x82c8 0x0820a1d4 8
0x40a6 0x0820a4fc 7
0x5470 0x0820a9b4 5
0xa133 0x0820ae6c 1
0x3f96 0x0820b324 1
0xce28 0x0820bce4 6
0xd229 0x0820c6b8 3
0x56ad 0x0820cdcc 1
0x8ea3 0x0820d32c 13
0xa76d 0x0820d958 1
0xd1c0 0x0820d9ac 7
0x3f4b 0x08211acc 1
0x641d 0x0821b0d8 1
0x88b7 0x0821b1d0 1
0x1ed1 0x0821b234 1
0xa99f 0x082245c8 3
0x0447 0x08224664 5
0x03ca 0x08224700 3
0xfa5d 0x08224838 1
0xb838 0x082248d4 1
0x667c 0x08224970 1
0x1a35 0x08224ff0 1
0x30a3 0x082255f4 3
0x5b01 0x08229f6c 1
0xec1f 0x0823242c 18
0xda5a 0x08235444 1
0x3db8 0x08235828 4
0xec5b 0x0823b170 2
0xeaac 0x0823b17c 1
0x5c9e 0x0823b5f8 99
0xa222 0x0823b630 1
0xbec2 0x0823bb4c 13
0x30ad 0x0823be3c 3
0x7539 0x0823bf24 4
0x2141 0x0823c658 1
0x9769 0x0823c670 72
0x8071 0x0823c6d4 120
0xc15e 0x0823c7d0 12
0xf341 0x0823c88c 41
0xcaee 0x0823c8b0 2
0x184b 0x0823cb2c 12
0x180b 0x0823cc20 1
0x0272 0x0823d5a8 1
0x0cd4 0x0823d72c 66
0xa39f 0x0823d7f0 2
0x4b41 0x0823d89c 2
0xede2 0x0823da38 29
0x1500 0x0823da5c 5
0x6487 0x0823db1c 3
0x686e 0x0823db34 2
0x4ccd 0x0823dbe4 1
0xae4e 0x0823dc54 1
0xa285 0x0823de20 2
0xdaa4 0x0823dee8 2
0xed2e 0x0823def4 1
0xb45f 0x0823df18 6
0x904b 0x0823df24 2
0x2354 0x0823df5c 4
0x3f3b 0x0823df68 1
0x058d 0x0823df74 1
0x5cc4 0x0823dfb0 4
0x4e30 0x0823eaf4 1
0xb55a 0x0823eb00 19
0xfbc1 0x0823eba0 3
0x3c47 0x0823ebfc 3
0x5365 0x0823ec50 3
0x2f01 0x0823eca4 24
0x5933 0x0823ed48 2
0x53bf 0x08240ba4 25
0xe7ca 0x08240bbc 200
0x364d 0x08240c20 9
0x4ed4 0x08240c94 5
0xd0c7 0x08240d04 15
0x6aff 0x08240d74 38
0x3ea2 0x08240e2c 1
0x4cbb 0x08240e84 1
0xe6f2 0x08240ef4 32
0xee18 0x08240f44 2
0x1870 0x08241004 55
0xca3d 0x08241194 2
0x1693 0x08241780 6
0x1422 0x08241828 4
0xadb6 0x08241870 1
0x3c8d 0x08241de4 1
0x40f8 0x08241e2c 54
0x31ff 0x08242038 29
0x305a 0x08242c84 61
0x3a5d 0x08242d2c 17
0x814c 0x08242db0 49
0x71c6 0x082430bc 2
0x4d88 0x08243208 6
0x3757 0x0824366c 3
0xd916 0x0824378c 4
0x7d90 0x082437e4 1
0xf11c 0x08243878 7
0x65e2 0x082438c8 2
0x7b7d 0x08243c5c 3
0xfef2 0x08243c98 2
0xf9f1 0x08243d30 2
0xe083 0x08243e34 18 GiveMagic(m=magic)
0x83e7 0x08243e60 3
0x1887 0x08243e94 2

Unreferenced

ID Address Description
0xf404 0x080036e0
0x5c0b 0x0800371c
0x8153 0x08005004
0xf0cc 0x0800501c
0x78ee 0x0800a414
0xe0a5 0x0800a458
0x4631 0x0800a4f4
0xc673 0x0801151c
0x73fe 0x08013dc0
0x435e 0x08013e74
0x86f3 0x08013ed0
0xdb6c 0x08013f24
0x4235 0x08018834
0x7a82 0x08018918
0x612e 0x0801ff34
0x5a36 0x08020014
0x920f 0x08044238
0xab4e 0x08047208
0x8a21 0x08047254
0x930f 0x08047b3c
0x8f41 0x08047d18
0x7974 0x08047ed4
0x025e 0x0804e2b4
0x56dc 0x08055638
0x8d5c 0x080557b4
0xd438 0x08055a40
0x7017 0x0807b198
0x2b68 0x0807b498
0xdd0e 0x0807b4b8
0x89c6 0x0807b55c
0xc12d 0x0807d308
0x061e 0x0807d3d8
0x6e7d 0x0807d408
0x1343 0x0807d8e4
0xea96 0x0807d998
0xd40e 0x0807db20
0x1f3b 0x0807db58
0xf982 0x0807dbd8
0x05e2 0x0807dc1c
0x546c 0x0807dc60
0x75b9 0x0807dca4
0x3c3e 0x0807dce8
0xa301 0x08086ce8
0x7ce7 0x0808ff04
0xa995 0x0808ff4c
0x610a 0x0809c77c
0xb6ce 0x0809f8b0
0x4a16 0x080a137c
0xc46e 0x080a4ff4
0xdea2 0x080a5224
0x65e1 0x080a5c44
0xe06a 0x080cb6ec
0xc814 0x080cb9cc
0xf41a 0x080cc3b4
0x300f 0x080ec758
0x7659 0x080ed9ac
0xc1f2 0x080eda78
0x286b 0x080edd04
0xc7dc 0x080ef2d0
0x9311 0x080ef7bc
0x0740 0x080ef7e4
0x0ee4 0x081d12c4
0x3215 0x081d1328
0xdfab 0x081d2098
0xb1c4 0x081d5814
0x7a75 0x081d584c
0x54df 0x081d5abc
0x5844 0x081d5b40
0x064e 0x081e0048
0x3ffd 0x081faf38
0x9dfe 0x0820a1e0
0xa7ce 0x0820db10
0xc946 0x08210834
0x225b 0x0822479c
0x3e17 0x08224a0c
0xab9c 0x08224aa8
0x3d17 0x08224df0
0xd0ce 0x08224f1c
0x69cd 0x082250d8
0x7f67 0x082251e0
0x7f44 0x0822529c
0xa3b3 0x08225358
0x5276 0x082253f4
0xd169 0x082254ec
0xb50d 0x08225588
0x48b3 0x082255bc
0xa3aa 0x08229bf4
0x2fe4 0x0823b620
0x619c 0x0823c748
0xbbaa 0x0823c868
0x75b7 0x0823caa4
0xab41 0x0823d948
0x138e 0x0823da80
0x81c4 0x0823dbc0
0x3c48 0x0823dc64
0x3e93 0x0823dc70
0x7806 0x0823dc90
0x1c3e 0x0823eb80
0x1833 0x0823eccc
0x2f51 0x0823ecd0
0x9146 0x0823ecd4
0x3ed0 0x08240f5c
0xe6ca 0x08241158
0x7eba 0x0824136c
0x79ec 0x082418b8
0x4b57 0x08241f98
0x4b39 0x08241fa4