; ; CharacterColorPage::colorForIndex from 0x14008a0a0 to 0x14008a347 (679 bytes) ; ; 1 xrefs: ; > CharacterColorPage::createColorMenu @ 0x140089072 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; cmp edx, 8Eh; switch 143 cases ; +0x0, 0x14008a0a0 ja def_14008A0C0; jumptable 000000014008A0C0 default case, cases 8,17,26,35,44,53,62,71,80,89,98,107-111,116-135 ; +0x6, 0x14008a0a6 movsxd rax, edx ; +0xc, 0x14008a0ac lea rdx, cs:140000000h ; +0xf, 0x14008a0af mov ecx, ds:(jpt_14008A0C0 - 140000000h)[rdx+rax*4] ; +0x16, 0x14008a0b6 add rcx, rdx ; +0x1d, 0x14008a0bd jmp rcx; switch jump ; +0x20, 0x14008a0c0 mov eax, 33h ; '3'; jumptable 000000014008A0C0 case 0 ; +0x22, 0x14008a0c2 retn ; +0x27, 0x14008a0c7 mov eax, 13h; jumptable 000000014008A0C0 case 1 ; +0x28, 0x14008a0c8 retn ; +0x2d, 0x14008a0cd mov eax, 30h ; '0'; jumptable 000000014008A0C0 case 2 ; +0x2e, 0x14008a0ce retn ; +0x33, 0x14008a0d3 mov eax, 9; jumptable 000000014008A0C0 case 3 ; +0x34, 0x14008a0d4 retn ; +0x39, 0x14008a0d9 mov eax, 25h ; '%'; jumptable 000000014008A0C0 case 18 ; +0x3a, 0x14008a0da retn ; +0x3f, 0x14008a0df mov eax, 35h ; '5'; jumptable 000000014008A0C0 case 19 ; +0x40, 0x14008a0e0 retn ; +0x45, 0x14008a0e5 mov eax, 36h ; '6'; jumptable 000000014008A0C0 case 20 ; +0x46, 0x14008a0e6 retn ; +0x4b, 0x14008a0eb mov eax, 37h ; '7'; jumptable 000000014008A0C0 case 21 ; +0x4c, 0x14008a0ec retn ; +0x51, 0x14008a0f1 mov eax, 19h; jumptable 000000014008A0C0 case 36 ; +0x52, 0x14008a0f2 retn ; +0x57, 0x14008a0f7 mov eax, 38h ; '8'; jumptable 000000014008A0C0 case 37 ; +0x58, 0x14008a0f8 retn ; +0x5d, 0x14008a0fd mov eax, 39h ; '9'; jumptable 000000014008A0C0 case 38 ; +0x5e, 0x14008a0fe retn ; +0x63, 0x14008a103 mov eax, 3Ah ; ':'; jumptable 000000014008A0C0 case 39 ; +0x64, 0x14008a104 retn ; +0x69, 0x14008a109 mov eax, 3Eh ; '>'; jumptable 000000014008A0C0 case 4 ; +0x6a, 0x14008a10a retn ; +0x6f, 0x14008a10f mov eax, 3Fh ; '?'; jumptable 000000014008A0C0 case 5 ; +0x70, 0x14008a110 retn ; +0x75, 0x14008a115 mov eax, 0Ah; jumptable 000000014008A0C0 case 6 ; +0x76, 0x14008a116 retn ; +0x7b, 0x14008a11b mov eax, 1Dh; jumptable 000000014008A0C0 case 7 ; +0x7c, 0x14008a11c retn ; +0x81, 0x14008a121 mov eax, 1Ah; jumptable 000000014008A0C0 case 22 ; +0x82, 0x14008a122 retn ; +0x87, 0x14008a127 mov eax, 3Bh ; ';'; jumptable 000000014008A0C0 case 23 ; +0x88, 0x14008a128 retn ; +0x8d, 0x14008a12d mov eax, 3Ch ; '<'; jumptable 000000014008A0C0 case 24 ; +0x8e, 0x14008a12e retn ; +0x93, 0x14008a133 mov eax, 3Dh ; '='; jumptable 000000014008A0C0 case 25 ; +0x94, 0x14008a134 retn ; +0x99, 0x14008a139 mov eax, 1Eh; jumptable 000000014008A0C0 case 40 ; +0x9a, 0x14008a13a retn ; +0x9f, 0x14008a13f mov eax, 40h ; '@'; jumptable 000000014008A0C0 case 41 ; +0xa0, 0x14008a140 retn ; +0xa5, 0x14008a145 mov eax, 41h ; 'A'; jumptable 000000014008A0C0 case 42 ; +0xa6, 0x14008a146 retn ; +0xab, 0x14008a14b mov eax, 42h ; 'B'; jumptable 000000014008A0C0 case 43 ; +0xac, 0x14008a14c retn ; +0xb1, 0x14008a151 mov eax, 46h ; 'F'; jumptable 000000014008A0C0 case 9 ; +0xb2, 0x14008a152 retn ; +0xb7, 0x14008a157 mov eax, 2Ah ; '*'; jumptable 000000014008A0C0 case 10 ; +0xb8, 0x14008a158 retn ; +0xbd, 0x14008a15d mov eax, 0Bh; jumptable 000000014008A0C0 case 11 ; +0xbe, 0x14008a15e retn ; +0xc3, 0x14008a163 mov eax, 1Bh; jumptable 000000014008A0C0 case 12 ; +0xc4, 0x14008a164 retn ; +0xc9, 0x14008a169 mov eax, 47h ; 'G'; jumptable 000000014008A0C0 case 27 ; +0xca, 0x14008a16a retn ; +0xcf, 0x14008a16f mov eax, 0Eh; jumptable 000000014008A0C0 case 28 ; +0xd0, 0x14008a170 retn ; +0xd5, 0x14008a175 mov eax, 1Fh; jumptable 000000014008A0C0 case 29 ; +0xd6, 0x14008a176 retn ; +0xdb, 0x14008a17b mov eax, 2Dh ; '-'; jumptable 000000014008A0C0 case 30 ; +0xdc, 0x14008a17c retn ; +0xe1, 0x14008a181 mov eax, 2Eh ; '.'; jumptable 000000014008A0C0 case 45 ; +0xe2, 0x14008a182 retn ; +0xe7, 0x14008a187 mov eax, 43h ; 'C'; jumptable 000000014008A0C0 case 46 ; +0xe8, 0x14008a188 retn ; +0xed, 0x14008a18d mov eax, 44h ; 'D'; jumptable 000000014008A0C0 case 47 ; +0xee, 0x14008a18e retn ; +0xf3, 0x14008a193 mov eax, 45h ; 'E'; jumptable 000000014008A0C0 case 48 ; +0xf4, 0x14008a194 retn ; +0xf9, 0x14008a199 mov eax, 48h ; 'H'; jumptable 000000014008A0C0 case 13 ; +0xfa, 0x14008a19a retn ; +0xff, 0x14008a19f mov eax, 49h ; 'I'; jumptable 000000014008A0C0 case 14 ; +0x100, 0x14008a1a0 retn ; +0x105, 0x14008a1a5 xor eax, eax; jumptable 000000014008A0C0 case 15 ; +0x106, 0x14008a1a6 retn ; +0x108, 0x14008a1a8 mov eax, 1; jumptable 000000014008A0C0 case 16 ; +0x109, 0x14008a1a9 retn ; +0x10e, 0x14008a1ae mov eax, 69h ; 'i'; jumptable 000000014008A0C0 case 31 ; +0x10f, 0x14008a1af retn ; +0x114, 0x14008a1b4 mov eax, 1Ch; jumptable 000000014008A0C0 case 32 ; +0x115, 0x14008a1b5 retn ; +0x11a, 0x14008a1ba mov eax, 20h ; ' '; jumptable 000000014008A0C0 case 33 ; +0x11b, 0x14008a1bb retn ; +0x120, 0x14008a1c0 mov eax, 14h; jumptable 000000014008A0C0 case 34 ; +0x121, 0x14008a1c1 retn ; +0x126, 0x14008a1c6 mov eax, 2; jumptable 000000014008A0C0 case 49 ; +0x127, 0x14008a1c7 retn ; +0x12c, 0x14008a1cc mov eax, 26h ; '&'; jumptable 000000014008A0C0 case 50 ; +0x12d, 0x14008a1cd retn ; +0x132, 0x14008a1d2 mov eax, 4Fh ; 'O'; jumptable 000000014008A0C0 case 51 ; +0x133, 0x14008a1d3 retn ; +0x138, 0x14008a1d8 mov eax, 50h ; 'P'; jumptable 000000014008A0C0 case 52 ; +0x139, 0x14008a1d9 retn ; +0x13e, 0x14008a1de mov eax, 4Ah ; 'J'; jumptable 000000014008A0C0 case 54 ; +0x13f, 0x14008a1df retn ; +0x144, 0x14008a1e4 mov eax, 4Bh ; 'K'; jumptable 000000014008A0C0 case 55 ; +0x145, 0x14008a1e5 retn ; +0x14a, 0x14008a1ea mov eax, 2Ch ; ','; jumptable 000000014008A0C0 case 56 ; +0x14b, 0x14008a1eb retn ; +0x150, 0x14008a1f0 mov eax, 3; jumptable 000000014008A0C0 case 57 ; +0x151, 0x14008a1f1 retn ; +0x156, 0x14008a1f6 mov eax, 28h ; '('; jumptable 000000014008A0C0 case 72 ; +0x157, 0x14008a1f7 retn ; +0x15c, 0x14008a1fc mov eax, 4Ch ; 'L'; jumptable 000000014008A0C0 case 73 ; +0x15d, 0x14008a1fd retn ; +0x162, 0x14008a202 mov eax, 4Dh ; 'M'; jumptable 000000014008A0C0 case 74 ; +0x163, 0x14008a203 retn ; +0x168, 0x14008a208 mov eax, 4Eh ; 'N'; jumptable 000000014008A0C0 case 75 ; +0x169, 0x14008a209 retn ; +0x16e, 0x14008a20e mov eax, 21h ; '!'; jumptable 000000014008A0C0 case 90 ; +0x16f, 0x14008a20f retn ; +0x174, 0x14008a214 mov eax, 15h; jumptable 000000014008A0C0 case 91 ; +0x175, 0x14008a215 retn ; +0x17a, 0x14008a21a mov eax, 51h ; 'Q'; jumptable 000000014008A0C0 case 92 ; +0x17b, 0x14008a21b retn ; +0x180, 0x14008a220 mov eax, 52h ; 'R'; jumptable 000000014008A0C0 case 93 ; +0x181, 0x14008a221 retn ; +0x186, 0x14008a226 mov eax, 53h ; 'S'; jumptable 000000014008A0C0 case 58 ; +0x187, 0x14008a227 retn ; +0x18c, 0x14008a22c mov eax, 10h; jumptable 000000014008A0C0 case 59 ; +0x18d, 0x14008a22d retn ; +0x192, 0x14008a232 mov eax, 4; jumptable 000000014008A0C0 case 60 ; +0x193, 0x14008a233 retn ; +0x198, 0x14008a238 mov eax, 5; jumptable 000000014008A0C0 case 61 ; +0x199, 0x14008a239 retn ; +0x19e, 0x14008a23e mov eax, 16h; jumptable 000000014008A0C0 case 76 ; +0x19f, 0x14008a23f retn ; +0x1a4, 0x14008a244 mov eax, 27h ; '''; jumptable 000000014008A0C0 case 77 ; +0x1a5, 0x14008a245 retn ; +0x1aa, 0x14008a24a mov eax, 54h ; 'T'; jumptable 000000014008A0C0 case 78 ; +0x1ab, 0x14008a24b retn ; +0x1b0, 0x14008a250 mov eax, 32h ; '2'; jumptable 000000014008A0C0 case 79 ; +0x1b1, 0x14008a251 retn ; +0x1b6, 0x14008a256 mov eax, 22h ; '"'; jumptable 000000014008A0C0 case 94 ; +0x1b7, 0x14008a257 retn ; +0x1bc, 0x14008a25c mov eax, 55h ; 'U'; jumptable 000000014008A0C0 case 95 ; +0x1bd, 0x14008a25d retn ; +0x1c2, 0x14008a262 mov eax, 56h ; 'V'; jumptable 000000014008A0C0 case 96 ; +0x1c3, 0x14008a263 retn ; +0x1c8, 0x14008a268 mov eax, 57h ; 'W'; jumptable 000000014008A0C0 case 97 ; +0x1c9, 0x14008a269 retn ; +0x1ce, 0x14008a26e mov eax, 6Ah ; 'j'; jumptable 000000014008A0C0 case 112 ; +0x1cf, 0x14008a26f retn ; +0x1d4, 0x14008a274 mov eax, 58h ; 'X'; jumptable 000000014008A0C0 case 113 ; +0x1d5, 0x14008a275 retn ; +0x1da, 0x14008a27a mov eax, 59h ; 'Y'; jumptable 000000014008A0C0 case 114 ; +0x1db, 0x14008a27b retn ; +0x1e0, 0x14008a280 mov eax, 5Ah ; 'Z'; jumptable 000000014008A0C0 case 115 ; +0x1e1, 0x14008a281 retn ; +0x1e6, 0x14008a286 mov eax, 34h ; '4'; jumptable 000000014008A0C0 case 63 ; +0x1e7, 0x14008a287 retn ; +0x1ec, 0x14008a28c mov eax, 29h ; ')'; jumptable 000000014008A0C0 case 64 ; +0x1ed, 0x14008a28d retn ; +0x1f2, 0x14008a292 mov eax, 6; jumptable 000000014008A0C0 case 65 ; +0x1f3, 0x14008a293 retn ; +0x1f8, 0x14008a298 mov eax, 23h ; '#'; jumptable 000000014008A0C0 case 66 ; +0x1f9, 0x14008a299 retn ; +0x1fe, 0x14008a29e mov eax, 2Fh ; '/'; jumptable 000000014008A0C0 case 81 ; +0x1ff, 0x14008a29f retn ; +0x204, 0x14008a2a4 mov eax, 17h; jumptable 000000014008A0C0 case 82 ; +0x205, 0x14008a2a5 retn ; +0x20a, 0x14008a2aa mov eax, 5Ch ; '\'; jumptable 000000014008A0C0 case 83 ; +0x20b, 0x14008a2ab retn ; +0x210, 0x14008a2b0 mov eax, 5Dh ; ']'; jumptable 000000014008A0C0 case 84 ; +0x211, 0x14008a2b1 retn ; +0x216, 0x14008a2b6 mov eax, 31h ; '1'; jumptable 000000014008A0C0 case 99 ; +0x217, 0x14008a2b7 retn ; +0x21c, 0x14008a2bc mov eax, 5Fh ; '_'; jumptable 000000014008A0C0 case 100 ; +0x21d, 0x14008a2bd retn ; +0x222, 0x14008a2c2 mov eax, 60h ; '`'; jumptable 000000014008A0C0 case 101 ; +0x223, 0x14008a2c3 retn ; +0x228, 0x14008a2c8 mov eax, 61h ; 'a'; jumptable 000000014008A0C0 case 102 ; +0x229, 0x14008a2c9 retn ; +0x22e, 0x14008a2ce mov eax, 62h ; 'b'; jumptable 000000014008A0C0 case 67 ; +0x22f, 0x14008a2cf retn ; +0x234, 0x14008a2d4 mov eax, 8; jumptable 000000014008A0C0 case 68 ; +0x235, 0x14008a2d5 retn ; +0x23a, 0x14008a2da mov eax, 24h ; '$'; jumptable 000000014008A0C0 case 69 ; +0x23b, 0x14008a2db retn ; +0x240, 0x14008a2e0 mov eax, 67h ; 'g'; jumptable 000000014008A0C0 case 70 ; +0x241, 0x14008a2e1 retn ; +0x246, 0x14008a2e6 mov eax, 7; jumptable 000000014008A0C0 case 85 ; +0x247, 0x14008a2e7 retn ; +0x24c, 0x14008a2ec mov eax, 0Dh; jumptable 000000014008A0C0 case 86 ; +0x24d, 0x14008a2ed retn ; +0x252, 0x14008a2f2 mov eax, 18h; jumptable 000000014008A0C0 case 87 ; +0x253, 0x14008a2f3 retn ; +0x258, 0x14008a2f8 mov eax, 68h ; 'h'; jumptable 000000014008A0C0 case 88 ; +0x259, 0x14008a2f9 retn ; +0x25e, 0x14008a2fe mov eax, 2Bh ; '+'; jumptable 000000014008A0C0 case 103 ; +0x25f, 0x14008a2ff retn ; +0x264, 0x14008a304 mov eax, 63h ; 'c'; jumptable 000000014008A0C0 case 104 ; +0x265, 0x14008a305 retn ; +0x26a, 0x14008a30a mov eax, 64h ; 'd'; jumptable 000000014008A0C0 case 105 ; +0x26b, 0x14008a30b retn ; +0x270, 0x14008a310 mov eax, 65h ; 'e'; jumptable 000000014008A0C0 case 106 ; +0x271, 0x14008a311 retn ; +0x276, 0x14008a316 mov eax, 0Ch; jumptable 000000014008A0C0 case 136 ; +0x277, 0x14008a317 retn ; +0x27c, 0x14008a31c mov eax, 5Bh ; '['; jumptable 000000014008A0C0 case 137 ; +0x27d, 0x14008a31d retn ; +0x282, 0x14008a322 mov eax, 11h; jumptable 000000014008A0C0 case 138 ; +0x283, 0x14008a323 retn ; +0x288, 0x14008a328 mov eax, 66h ; 'f'; jumptable 000000014008A0C0 case 139 ; +0x289, 0x14008a329 retn ; +0x28e, 0x14008a32e mov eax, 12h; jumptable 000000014008A0C0 case 140 ; +0x28f, 0x14008a32f retn ; +0x294, 0x14008a334 mov eax, 5Eh ; '^'; jumptable 000000014008A0C0 case 141 ; +0x295, 0x14008a335 retn ; +0x29a, 0x14008a33a mov eax, 0Fh; jumptable 000000014008A0C0 case 142 ; +0x29b, 0x14008a33b retn ; +0x2a0, 0x14008a340 mov eax, 0FFFFFFFFh; jumptable 000000014008A0C0 default case, cases 8,17,26,35,44,53,62,71,80,89,98,107-111,116-135 ; +0x2a1, 0x14008a341 retn ; +0x2a6, 0x14008a346