{"type": "func", "start": 4296188040, "end": 4296188072, "name": "CharacterColorPage::colorForIndex", "pseudocode": "// \n// CharacterColorPage::colorForIndex from 0x10012a088 to 0x10012a0a8 (32 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::createColorMenu @ 0x100129ae4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall CharacterColorPage::colorForIndex(CharacterColorPage *a1, int a2)\n{\n  if ( (unsigned int)a2 > 0x8E )\n    return -1;\n  else\n    return *(_DWORD *)&a3_1[4 * a2];\n}", "assembly": "; \n; CharacterColorPage::colorForIndex from 0x10012a088 to 0x10012a0a8 (32 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::createColorMenu @ 0x100129ae4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             W1, #0x8E                                              ; +0x0, 0x10012a088\nB.HI            loc_10012A0A0                                          ; +0x4, 0x10012a08c\nADRL            X8, a3_1; \"3\"                                          ; +0x8, 0x10012a090\nLDR             W0, [X8,W1,UXTW#2]                                     ; +0x10, 0x10012a098\nRET                                                                    ; +0x14, 0x10012a09c\nMOV             W0, #0xFFFFFFFF                                        ; +0x18, 0x10012a0a0\nRET                                                                    ; +0x1c, 0x10012a0a4", "xrefs": ["CharacterColorPage::createColorMenu @ 0x100129ae4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}