{"type": "func", "start": 11868436, "end": 11868464, "name": "CharacterColorPage::colorForIndex", "pseudocode": "// \n// CharacterColorPage::colorForIndex from 0xb51914 to 0xb51930 (28 bytes)\n// \n// 2 xrefs:\n// > CharacterColorPage::createColorMenu @ 0xb52100\n// > <???> @ 0xa9918\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 13:01:59 +0000\n// \n\n__int64 __fastcall CharacterColorPage::colorForIndex(CharacterColorPage *this, unsigned int a2)\n{\n  __int64 result; // x0\n\n  result = 0xFFFFFFFFLL;\n  if ( a2 <= 0x8E )\n    return (unsigned int)byte_118F6B0[a2];\n  return result;\n}", "assembly": "; \n; CharacterColorPage::colorForIndex from 0xb51914 to 0xb51930 (28 bytes)\n; \n; 2 xrefs:\n; > CharacterColorPage::createColorMenu @ 0xb52100\n; > <???> @ 0xa9918\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 13:01:59 +0000\n; \nCMP             W1, #0x8E                                              ; +0x0, 0xb51914\nMOV             W0, #0xFFFFFFFF                                        ; +0x4, 0xb51918\nB.HI            locret_B5192C                                          ; +0x8, 0xb5191c\nADRL            X0, byte_118F6B0                                       ; +0xc, 0xb51920\nLDRSB           W0, [X0,W1,UXTW]                                       ; +0x14, 0xb51928\nRET                                                                    ; +0x18, 0xb5192c", "xrefs": ["CharacterColorPage::createColorMenu @ 0xb52100", "<???> @ 0xa9918"], "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"}