{"type": "func", "start": 4302560832, "end": 4302560910, "name": "CharacterColorPage::checkColor", "pseudocode": "// \n// CharacterColorPage::checkColor from 0x10073de40 to 0x10073de8e (78 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:36:28 +0000\n// \n\n__int64 __fastcall CharacterColorPage::checkColor(__int64 a1, unsigned int a2, unsigned int a3)\n{\n  __int64 v4; // rax\n  __int64 result; // rax\n  __int64 v6; // rdi\n  __int64 v7; // rdx\n  unsigned int v8; // ebx\n\n  v4 = GameManager::sharedState();\n  result = GameManager::isColorUnlocked(v4, a2, a3);\n  if ( !(_BYTE)result )\n  {\n    v6 = *(_QWORD *)(a1 + 704);\n    if ( v6 )\n    {\n      v7 = a3;\n      v8 = result;\n      (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v6 + 8LL))(v6, a2, v7);\n      return v8;\n    }\n  }\n  return result;\n}", "assembly": "; \n; CharacterColorPage::checkColor from 0x10073de40 to 0x10073de8e (78 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:36:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x10073de40\nmov     rbp, rsp                                                       ; +0x1, 0x10073de41\npush    r15                                                            ; +0x4, 0x10073de44\npush    r14                                                            ; +0x6, 0x10073de46\npush    rbx                                                            ; +0x8, 0x10073de48\npush    rax                                                            ; +0x9, 0x10073de49\nmov     ebx, edx                                                       ; +0xa, 0x10073de4a\nmov     r14d, esi                                                      ; +0xc, 0x10073de4c\nmov     r15, rdi                                                       ; +0xf, 0x10073de4f\ncall    GameManager__sharedState                                       ; +0x12, 0x10073de52\nmov     rdi, rax                                                       ; +0x17, 0x10073de57\nmov     esi, r14d                                                      ; +0x1a, 0x10073de5a\nmov     edx, ebx                                                       ; +0x1d, 0x10073de5d\ncall    GameManager__isColorUnlocked                                   ; +0x1f, 0x10073de5f\ntest    al, al                                                         ; +0x24, 0x10073de64\njnz     short loc_10073DE83                                            ; +0x26, 0x10073de66\nmov     rdi, [r15+2C0h]                                                ; +0x28, 0x10073de68\ntest    rdi, rdi                                                       ; +0x2f, 0x10073de6f\njz      short loc_10073DE83                                            ; +0x32, 0x10073de72\nmov     rcx, [rdi]                                                     ; +0x34, 0x10073de74\nmov     esi, r14d                                                      ; +0x37, 0x10073de77\nmov     edx, ebx                                                       ; +0x3a, 0x10073de7a\nmov     ebx, eax                                                       ; +0x3c, 0x10073de7c\ncall    qword ptr [rcx+8]                                              ; +0x3e, 0x10073de7e\nmov     eax, ebx                                                       ; +0x41, 0x10073de81\nadd     rsp, 8                                                         ; +0x43, 0x10073de83\npop     rbx                                                            ; +0x47, 0x10073de87\npop     r14                                                            ; +0x48, 0x10073de88\npop     r15                                                            ; +0x4a, 0x10073de8a\npop     rbp                                                            ; +0x4c, 0x10073de8c\nretn                                                                   ; +0x4d, 0x10073de8d", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}