{"type": "func", "start": 4301644976, "end": 4301645007, "name": "CharacterColorPage::colorForIndex", "pseudocode": "// \n// CharacterColorPage::colorForIndex from 0x10065e4b0 to 0x10065e4cf (31 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::createColorMenu @ 0x10065dd0b\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  int result; // eax\n\n  result = -1;\n  if ( (unsigned int)a2 <= 0x8E )\n    return *(_DWORD *)&a3_0[4 * a2];\n  return result;\n}", "assembly": "; \n; CharacterColorPage::colorForIndex from 0x10065e4b0 to 0x10065e4cf (31 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::createColorMenu @ 0x10065dd0b\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\npush    rbp                                                            ; +0x0, 0x10065e4b0\nmov     rbp, rsp                                                       ; +0x1, 0x10065e4b1\nmov     eax, 0FFFFFFFFh                                                ; +0x4, 0x10065e4b4\ncmp     esi, 8Eh                                                       ; +0x9, 0x10065e4b9\nja      short loc_10065E4CD                                            ; +0xf, 0x10065e4bf\nmov     eax, esi                                                       ; +0x11, 0x10065e4c1\nlea     rcx, a3_0; \"3\"                                                 ; +0x13, 0x10065e4c3\nmov     eax, [rcx+rax*4]                                               ; +0x1a, 0x10065e4ca\npop     rbp                                                            ; +0x1d, 0x10065e4cd\nretn                                                                   ; +0x1e, 0x10065e4ce", "xrefs": ["CharacterColorPage::createColorMenu @ 0x10065dd0b"], "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"}