; ; CharacterColorPage::colorForIndex from 0x1400a2990 to 0x1400a2c37 (679 bytes) ; ; 1 xrefs: ; > CharacterColorPage::createColorMenu @ 0x1400a18e2 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:26:07 +0000 ; cmp edx, 8Eh; switch 143 cases ; +0x0, 0x1400a2990 ja def_1400A29B0; jumptable 00000001400A29B0 default case, cases 8,17,26,35,44,53,62,71,80,89,98,107-111,116-135 ; +0x6, 0x1400a2996 movsxd rax, edx ; +0xc, 0x1400a299c lea rdx, cs:140000000h ; +0xf, 0x1400a299f mov ecx, ds:(jpt_1400A29B0 - 140000000h)[rdx+rax*4] ; +0x16, 0x1400a29a6 add rcx, rdx ; +0x1d, 0x1400a29ad jmp rcx; switch jump ; +0x20, 0x1400a29b0 mov eax, 33h ; '3'; jumptable 00000001400A29B0 case 0 ; +0x22, 0x1400a29b2 retn ; +0x27, 0x1400a29b7 mov eax, 13h; jumptable 00000001400A29B0 case 1 ; +0x28, 0x1400a29b8 retn ; +0x2d, 0x1400a29bd mov eax, 30h ; '0'; jumptable 00000001400A29B0 case 2 ; +0x2e, 0x1400a29be retn ; +0x33, 0x1400a29c3 mov eax, 9; jumptable 00000001400A29B0 case 3 ; +0x34, 0x1400a29c4 retn ; +0x39, 0x1400a29c9 mov eax, 25h ; '%'; jumptable 00000001400A29B0 case 18 ; +0x3a, 0x1400a29ca retn ; +0x3f, 0x1400a29cf mov eax, 35h ; '5'; jumptable 00000001400A29B0 case 19 ; +0x40, 0x1400a29d0 retn ; +0x45, 0x1400a29d5 mov eax, 36h ; '6'; jumptable 00000001400A29B0 case 20 ; +0x46, 0x1400a29d6 retn ; +0x4b, 0x1400a29db mov eax, 37h ; '7'; jumptable 00000001400A29B0 case 21 ; +0x4c, 0x1400a29dc retn ; +0x51, 0x1400a29e1 mov eax, 19h; jumptable 00000001400A29B0 case 36 ; +0x52, 0x1400a29e2 retn ; +0x57, 0x1400a29e7 mov eax, 38h ; '8'; jumptable 00000001400A29B0 case 37 ; +0x58, 0x1400a29e8 retn ; +0x5d, 0x1400a29ed mov eax, 39h ; '9'; jumptable 00000001400A29B0 case 38 ; +0x5e, 0x1400a29ee retn ; +0x63, 0x1400a29f3 mov eax, 3Ah ; ':'; jumptable 00000001400A29B0 case 39 ; +0x64, 0x1400a29f4 retn ; +0x69, 0x1400a29f9 mov eax, 3Eh ; '>'; jumptable 00000001400A29B0 case 4 ; +0x6a, 0x1400a29fa retn ; +0x6f, 0x1400a29ff mov eax, 3Fh ; '?'; jumptable 00000001400A29B0 case 5 ; +0x70, 0x1400a2a00 retn ; +0x75, 0x1400a2a05 mov eax, 0Ah; jumptable 00000001400A29B0 case 6 ; +0x76, 0x1400a2a06 retn ; +0x7b, 0x1400a2a0b mov eax, 1Dh; jumptable 00000001400A29B0 case 7 ; +0x7c, 0x1400a2a0c retn ; +0x81, 0x1400a2a11 mov eax, 1Ah; jumptable 00000001400A29B0 case 22 ; +0x82, 0x1400a2a12 retn ; +0x87, 0x1400a2a17 mov eax, 3Bh ; ';'; jumptable 00000001400A29B0 case 23 ; +0x88, 0x1400a2a18 retn ; +0x8d, 0x1400a2a1d mov eax, 3Ch ; '<'; jumptable 00000001400A29B0 case 24 ; +0x8e, 0x1400a2a1e retn ; +0x93, 0x1400a2a23 mov eax, 3Dh ; '='; jumptable 00000001400A29B0 case 25 ; +0x94, 0x1400a2a24 retn ; +0x99, 0x1400a2a29 mov eax, 1Eh; jumptable 00000001400A29B0 case 40 ; +0x9a, 0x1400a2a2a retn ; +0x9f, 0x1400a2a2f mov eax, 40h ; '@'; jumptable 00000001400A29B0 case 41 ; +0xa0, 0x1400a2a30 retn ; +0xa5, 0x1400a2a35 mov eax, 41h ; 'A'; jumptable 00000001400A29B0 case 42 ; +0xa6, 0x1400a2a36 retn ; +0xab, 0x1400a2a3b mov eax, 42h ; 'B'; jumptable 00000001400A29B0 case 43 ; +0xac, 0x1400a2a3c retn ; +0xb1, 0x1400a2a41 mov eax, 46h ; 'F'; jumptable 00000001400A29B0 case 9 ; +0xb2, 0x1400a2a42 retn ; +0xb7, 0x1400a2a47 mov eax, 2Ah ; '*'; jumptable 00000001400A29B0 case 10 ; +0xb8, 0x1400a2a48 retn ; +0xbd, 0x1400a2a4d mov eax, 0Bh; jumptable 00000001400A29B0 case 11 ; +0xbe, 0x1400a2a4e retn ; +0xc3, 0x1400a2a53 mov eax, 1Bh; jumptable 00000001400A29B0 case 12 ; +0xc4, 0x1400a2a54 retn ; +0xc9, 0x1400a2a59 mov eax, 47h ; 'G'; jumptable 00000001400A29B0 case 27 ; +0xca, 0x1400a2a5a retn ; +0xcf, 0x1400a2a5f mov eax, 0Eh; jumptable 00000001400A29B0 case 28 ; +0xd0, 0x1400a2a60 retn ; +0xd5, 0x1400a2a65 mov eax, 1Fh; jumptable 00000001400A29B0 case 29 ; +0xd6, 0x1400a2a66 retn ; +0xdb, 0x1400a2a6b mov eax, 2Dh ; '-'; jumptable 00000001400A29B0 case 30 ; +0xdc, 0x1400a2a6c retn ; +0xe1, 0x1400a2a71 mov eax, 2Eh ; '.'; jumptable 00000001400A29B0 case 45 ; +0xe2, 0x1400a2a72 retn ; +0xe7, 0x1400a2a77 mov eax, 43h ; 'C'; jumptable 00000001400A29B0 case 46 ; +0xe8, 0x1400a2a78 retn ; +0xed, 0x1400a2a7d mov eax, 44h ; 'D'; jumptable 00000001400A29B0 case 47 ; +0xee, 0x1400a2a7e retn ; +0xf3, 0x1400a2a83 mov eax, 45h ; 'E'; jumptable 00000001400A29B0 case 48 ; +0xf4, 0x1400a2a84 retn ; +0xf9, 0x1400a2a89 mov eax, 48h ; 'H'; jumptable 00000001400A29B0 case 13 ; +0xfa, 0x1400a2a8a retn ; +0xff, 0x1400a2a8f mov eax, 49h ; 'I'; jumptable 00000001400A29B0 case 14 ; +0x100, 0x1400a2a90 retn ; +0x105, 0x1400a2a95 xor eax, eax; jumptable 00000001400A29B0 case 15 ; +0x106, 0x1400a2a96 retn ; +0x108, 0x1400a2a98 mov eax, 1; jumptable 00000001400A29B0 case 16 ; +0x109, 0x1400a2a99 retn ; +0x10e, 0x1400a2a9e mov eax, 69h ; 'i'; jumptable 00000001400A29B0 case 31 ; +0x10f, 0x1400a2a9f retn ; +0x114, 0x1400a2aa4 mov eax, 1Ch; jumptable 00000001400A29B0 case 32 ; +0x115, 0x1400a2aa5 retn ; +0x11a, 0x1400a2aaa mov eax, 20h ; ' '; jumptable 00000001400A29B0 case 33 ; +0x11b, 0x1400a2aab retn ; +0x120, 0x1400a2ab0 mov eax, 14h; jumptable 00000001400A29B0 case 34 ; +0x121, 0x1400a2ab1 retn ; +0x126, 0x1400a2ab6 mov eax, 2; jumptable 00000001400A29B0 case 49 ; +0x127, 0x1400a2ab7 retn ; +0x12c, 0x1400a2abc mov eax, 26h ; '&'; jumptable 00000001400A29B0 case 50 ; +0x12d, 0x1400a2abd retn ; +0x132, 0x1400a2ac2 mov eax, 4Fh ; 'O'; jumptable 00000001400A29B0 case 51 ; +0x133, 0x1400a2ac3 retn ; +0x138, 0x1400a2ac8 mov eax, 50h ; 'P'; jumptable 00000001400A29B0 case 52 ; +0x139, 0x1400a2ac9 retn ; +0x13e, 0x1400a2ace mov eax, 4Ah ; 'J'; jumptable 00000001400A29B0 case 54 ; +0x13f, 0x1400a2acf retn ; +0x144, 0x1400a2ad4 mov eax, 4Bh ; 'K'; jumptable 00000001400A29B0 case 55 ; +0x145, 0x1400a2ad5 retn ; +0x14a, 0x1400a2ada mov eax, 2Ch ; ','; jumptable 00000001400A29B0 case 56 ; +0x14b, 0x1400a2adb retn ; +0x150, 0x1400a2ae0 mov eax, 3; jumptable 00000001400A29B0 case 57 ; +0x151, 0x1400a2ae1 retn ; +0x156, 0x1400a2ae6 mov eax, 28h ; '('; jumptable 00000001400A29B0 case 72 ; +0x157, 0x1400a2ae7 retn ; +0x15c, 0x1400a2aec mov eax, 4Ch ; 'L'; jumptable 00000001400A29B0 case 73 ; +0x15d, 0x1400a2aed retn ; +0x162, 0x1400a2af2 mov eax, 4Dh ; 'M'; jumptable 00000001400A29B0 case 74 ; +0x163, 0x1400a2af3 retn ; +0x168, 0x1400a2af8 mov eax, 4Eh ; 'N'; jumptable 00000001400A29B0 case 75 ; +0x169, 0x1400a2af9 retn ; +0x16e, 0x1400a2afe mov eax, 21h ; '!'; jumptable 00000001400A29B0 case 90 ; +0x16f, 0x1400a2aff retn ; +0x174, 0x1400a2b04 mov eax, 15h; jumptable 00000001400A29B0 case 91 ; +0x175, 0x1400a2b05 retn ; +0x17a, 0x1400a2b0a mov eax, 51h ; 'Q'; jumptable 00000001400A29B0 case 92 ; +0x17b, 0x1400a2b0b retn ; +0x180, 0x1400a2b10 mov eax, 52h ; 'R'; jumptable 00000001400A29B0 case 93 ; +0x181, 0x1400a2b11 retn ; +0x186, 0x1400a2b16 mov eax, 53h ; 'S'; jumptable 00000001400A29B0 case 58 ; +0x187, 0x1400a2b17 retn ; +0x18c, 0x1400a2b1c mov eax, 10h; jumptable 00000001400A29B0 case 59 ; +0x18d, 0x1400a2b1d retn ; +0x192, 0x1400a2b22 mov eax, 4; jumptable 00000001400A29B0 case 60 ; +0x193, 0x1400a2b23 retn ; +0x198, 0x1400a2b28 mov eax, 5; jumptable 00000001400A29B0 case 61 ; +0x199, 0x1400a2b29 retn ; +0x19e, 0x1400a2b2e mov eax, 16h; jumptable 00000001400A29B0 case 76 ; +0x19f, 0x1400a2b2f retn ; +0x1a4, 0x1400a2b34 mov eax, 27h ; '''; jumptable 00000001400A29B0 case 77 ; +0x1a5, 0x1400a2b35 retn ; +0x1aa, 0x1400a2b3a mov eax, 54h ; 'T'; jumptable 00000001400A29B0 case 78 ; +0x1ab, 0x1400a2b3b retn ; +0x1b0, 0x1400a2b40 mov eax, 32h ; '2'; jumptable 00000001400A29B0 case 79 ; +0x1b1, 0x1400a2b41 retn ; +0x1b6, 0x1400a2b46 mov eax, 22h ; '"'; jumptable 00000001400A29B0 case 94 ; +0x1b7, 0x1400a2b47 retn ; +0x1bc, 0x1400a2b4c mov eax, 55h ; 'U'; jumptable 00000001400A29B0 case 95 ; +0x1bd, 0x1400a2b4d retn ; +0x1c2, 0x1400a2b52 mov eax, 56h ; 'V'; jumptable 00000001400A29B0 case 96 ; +0x1c3, 0x1400a2b53 retn ; +0x1c8, 0x1400a2b58 mov eax, 57h ; 'W'; jumptable 00000001400A29B0 case 97 ; +0x1c9, 0x1400a2b59 retn ; +0x1ce, 0x1400a2b5e mov eax, 6Ah ; 'j'; jumptable 00000001400A29B0 case 112 ; +0x1cf, 0x1400a2b5f retn ; +0x1d4, 0x1400a2b64 mov eax, 58h ; 'X'; jumptable 00000001400A29B0 case 113 ; +0x1d5, 0x1400a2b65 retn ; +0x1da, 0x1400a2b6a mov eax, 59h ; 'Y'; jumptable 00000001400A29B0 case 114 ; +0x1db, 0x1400a2b6b retn ; +0x1e0, 0x1400a2b70 mov eax, 5Ah ; 'Z'; jumptable 00000001400A29B0 case 115 ; +0x1e1, 0x1400a2b71 retn ; +0x1e6, 0x1400a2b76 mov eax, 34h ; '4'; jumptable 00000001400A29B0 case 63 ; +0x1e7, 0x1400a2b77 retn ; +0x1ec, 0x1400a2b7c mov eax, 29h ; ')'; jumptable 00000001400A29B0 case 64 ; +0x1ed, 0x1400a2b7d retn ; +0x1f2, 0x1400a2b82 mov eax, 6; jumptable 00000001400A29B0 case 65 ; +0x1f3, 0x1400a2b83 retn ; +0x1f8, 0x1400a2b88 mov eax, 23h ; '#'; jumptable 00000001400A29B0 case 66 ; +0x1f9, 0x1400a2b89 retn ; +0x1fe, 0x1400a2b8e mov eax, 2Fh ; '/'; jumptable 00000001400A29B0 case 81 ; +0x1ff, 0x1400a2b8f retn ; +0x204, 0x1400a2b94 mov eax, 17h; jumptable 00000001400A29B0 case 82 ; +0x205, 0x1400a2b95 retn ; +0x20a, 0x1400a2b9a mov eax, 5Ch ; '\'; jumptable 00000001400A29B0 case 83 ; +0x20b, 0x1400a2b9b retn ; +0x210, 0x1400a2ba0 mov eax, 5Dh ; ']'; jumptable 00000001400A29B0 case 84 ; +0x211, 0x1400a2ba1 retn ; +0x216, 0x1400a2ba6 mov eax, 31h ; '1'; jumptable 00000001400A29B0 case 99 ; +0x217, 0x1400a2ba7 retn ; +0x21c, 0x1400a2bac mov eax, 5Fh ; '_'; jumptable 00000001400A29B0 case 100 ; +0x21d, 0x1400a2bad retn ; +0x222, 0x1400a2bb2 mov eax, 60h ; '`'; jumptable 00000001400A29B0 case 101 ; +0x223, 0x1400a2bb3 retn ; +0x228, 0x1400a2bb8 mov eax, 61h ; 'a'; jumptable 00000001400A29B0 case 102 ; +0x229, 0x1400a2bb9 retn ; +0x22e, 0x1400a2bbe mov eax, 62h ; 'b'; jumptable 00000001400A29B0 case 67 ; +0x22f, 0x1400a2bbf retn ; +0x234, 0x1400a2bc4 mov eax, 8; jumptable 00000001400A29B0 case 68 ; +0x235, 0x1400a2bc5 retn ; +0x23a, 0x1400a2bca mov eax, 24h ; '$'; jumptable 00000001400A29B0 case 69 ; +0x23b, 0x1400a2bcb retn ; +0x240, 0x1400a2bd0 mov eax, 67h ; 'g'; jumptable 00000001400A29B0 case 70 ; +0x241, 0x1400a2bd1 retn ; +0x246, 0x1400a2bd6 mov eax, 7; jumptable 00000001400A29B0 case 85 ; +0x247, 0x1400a2bd7 retn ; +0x24c, 0x1400a2bdc mov eax, 0Dh; jumptable 00000001400A29B0 case 86 ; +0x24d, 0x1400a2bdd retn ; +0x252, 0x1400a2be2 mov eax, 18h; jumptable 00000001400A29B0 case 87 ; +0x253, 0x1400a2be3 retn ; +0x258, 0x1400a2be8 mov eax, 68h ; 'h'; jumptable 00000001400A29B0 case 88 ; +0x259, 0x1400a2be9 retn ; +0x25e, 0x1400a2bee mov eax, 2Bh ; '+'; jumptable 00000001400A29B0 case 103 ; +0x25f, 0x1400a2bef retn ; +0x264, 0x1400a2bf4 mov eax, 63h ; 'c'; jumptable 00000001400A29B0 case 104 ; +0x265, 0x1400a2bf5 retn ; +0x26a, 0x1400a2bfa mov eax, 64h ; 'd'; jumptable 00000001400A29B0 case 105 ; +0x26b, 0x1400a2bfb retn ; +0x270, 0x1400a2c00 mov eax, 65h ; 'e'; jumptable 00000001400A29B0 case 106 ; +0x271, 0x1400a2c01 retn ; +0x276, 0x1400a2c06 mov eax, 0Ch; jumptable 00000001400A29B0 case 136 ; +0x277, 0x1400a2c07 retn ; +0x27c, 0x1400a2c0c mov eax, 5Bh ; '['; jumptable 00000001400A29B0 case 137 ; +0x27d, 0x1400a2c0d retn ; +0x282, 0x1400a2c12 mov eax, 11h; jumptable 00000001400A29B0 case 138 ; +0x283, 0x1400a2c13 retn ; +0x288, 0x1400a2c18 mov eax, 66h ; 'f'; jumptable 00000001400A29B0 case 139 ; +0x289, 0x1400a2c19 retn ; +0x28e, 0x1400a2c1e mov eax, 12h; jumptable 00000001400A29B0 case 140 ; +0x28f, 0x1400a2c1f retn ; +0x294, 0x1400a2c24 mov eax, 5Eh ; '^'; jumptable 00000001400A29B0 case 141 ; +0x295, 0x1400a2c25 retn ; +0x29a, 0x1400a2c2a mov eax, 0Fh; jumptable 00000001400A29B0 case 142 ; +0x29b, 0x1400a2c2b retn ; +0x2a0, 0x1400a2c30 mov eax, 0FFFFFFFFh; jumptable 00000001400A29B0 default case, cases 8,17,26,35,44,53,62,71,80,89,98,107-111,116-135 ; +0x2a1, 0x1400a2c31 retn ; +0x2a6, 0x1400a2c36