{"type": "func", "start": 5369276336, "end": 5369276396, "name": "CharacterColorPage::onClose", "pseudocode": "// \n// CharacterColorPage::onClose from 0x14008a7b0 to 0x14008a7ec (60 bytes)\n// \n// 2 xrefs:\n// > CharacterColorPage::init @ 0x1400880f2\n// > <???> @ 0x1406c6d38\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\nvoid CharacterColorPage::onClose(CharacterColorPage *a1, cocos2d::CCObject *a2)\n{\n  CharacterColorDelegate *m_delegate; // rcx\n  _BOOL8 v4; // rdx\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(CharacterColorDelegate *, cocos2d::CCObject *))m_delegate->playerColorChanged)(m_delegate, a2);\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v4) = 1;\n  a1->removeFromParentAndCleanup(a1, v4);\n}", "assembly": "; \n; CharacterColorPage::onClose from 0x14008a7b0 to 0x14008a7ec (60 bytes)\n; \n; 2 xrefs:\n; > CharacterColorPage::init @ 0x1400880f2\n; > <???> @ 0x1406c6d38\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    rbx                                                            ; +0x0, 0x14008a7b0\nsub     rsp, 20h                                                       ; +0x2, 0x14008a7b2\nmov     rbx, rcx                                                       ; +0x6, 0x14008a7b6\nmov     rcx, [rcx+2A8h]                                                ; +0x9, 0x14008a7b9\ntest    rcx, rcx                                                       ; +0x10, 0x14008a7c0\njz      short loc_14008A7CA                                            ; +0x13, 0x14008a7c3\nmov     rax, [rcx]                                                     ; +0x15, 0x14008a7c5\ncall    qword ptr [rax]                                                ; +0x18, 0x14008a7c8\nmov     rax, [rbx]                                                     ; +0x1a, 0x14008a7ca\nxor     edx, edx                                                       ; +0x1d, 0x14008a7cd\nmov     rcx, rbx                                                       ; +0x1f, 0x14008a7cf\ncall    qword ptr [rax+3D0h]                                           ; +0x22, 0x14008a7d2\nmov     rax, [rbx]                                                     ; +0x28, 0x14008a7d8\nmov     dl, 1                                                          ; +0x2b, 0x14008a7db\nmov     rcx, rbx                                                       ; +0x2d, 0x14008a7dd\nadd     rsp, 20h                                                       ; +0x30, 0x14008a7e0\npop     rbx                                                            ; +0x34, 0x14008a7e4\njmp     qword ptr [rax+1F8h]                                           ; +0x35, 0x14008a7e5", "xrefs": ["CharacterColorPage::init @ 0x1400880f2", "<???> @ 0x1406c6d38"], "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"}