{"type": "func", "start": 6934564, "end": 6934582, "name": "CharacterColorPage::colorForIndex", "pseudocode": "// \n// CharacterColorPage::colorForIndex from 0x69d024 to 0x69d036 (18 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::createColorMenu @ 0x69d476\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:56:20 +0000\n// \n\nint __fastcall CharacterColorPage::colorForIndex(CharacterColorPage *this, unsigned int a2)\n{\n  if ( a2 > 0x8E )\n    return -1;\n  else\n    return byte_BEF828[a2];\n}", "assembly": "; \n; CharacterColorPage::colorForIndex from 0x69d024 to 0x69d036 (18 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::createColorMenu @ 0x69d476\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:56:20 +0000\n; \nCMP             R1, #0x8E                                              ; +0x0, 0x69d024\nBHI             loc_69D030                                             ; +0x2, 0x69d026\nLDR             R3, =(byte_BEF828 - 0x69D02E)                          ; +0x4, 0x69d028\nADD             R3, PC; byte_BEF828                                    ; +0x6, 0x69d02a\nLDRSB           R0, [R3,R1]                                            ; +0x8, 0x69d02c\nBX              LR                                                     ; +0xa, 0x69d02e\nMOV.W           R0, #0xFFFFFFFF                                        ; +0xc, 0x69d030\nBX              LR                                                     ; +0x10, 0x69d034", "xrefs": ["CharacterColorPage::createColorMenu @ 0x69d476"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}