{"type": "func", "start": 4296358584, "end": 4296358616, "name": "CharacterColorPage::colorForIndex", "pseudocode": "// \n// CharacterColorPage::colorForIndex from 0x100153ab8 to 0x100153ad8 (32 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::createColorMenu @ 0x100153514\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:59:40 +0000\n// \n\n__int64 __fastcall CharacterColorPage::colorForIndex(__int64 a1, unsigned int a2)\n{\n  if ( a2 > 0x8E )\n    return 0xFFFFFFFFLL;\n  else\n    return *(unsigned int *)&a3_2[4 * a2];\n}", "assembly": "; \n; CharacterColorPage::colorForIndex from 0x100153ab8 to 0x100153ad8 (32 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::createColorMenu @ 0x100153514\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:59:40 +0000\n; \nCMP             W1, #0x8E                                              ; +0x0, 0x100153ab8\nB.HI            loc_100153AD0                                          ; +0x4, 0x100153abc\nADRL            X8, a3_2; \"3\"                                          ; +0x8, 0x100153ac0\nLDR             W0, [X8,W1,UXTW#2]                                     ; +0x10, 0x100153ac8\nRET                                                                    ; +0x14, 0x100153acc\nMOV             W0, #0xFFFFFFFF                                        ; +0x18, 0x100153ad0\nRET                                                                    ; +0x1c, 0x100153ad4", "xrefs": ["CharacterColorPage::createColorMenu @ 0x100153514"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}