{"type": "func", "start": 4301641568, "end": 4301641634, "name": "CharacterColorPage::onClose", "pseudocode": "// \n// CharacterColorPage::onClose from 0x10065d760 to 0x10065d7a2 (66 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::init @ 0x10065ccc2\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 __fastcall CharacterColorPage::onClose(CharacterColorPage *a1, cocos2d::CCObject *a2)\n{\n  CharacterColorDelegate *m_delegate; // rdi\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(CharacterColorDelegate *, cocos2d::CCObject *))m_delegate->playerColorChanged)(m_delegate, a2);\n  ((void (__fastcall *)(CharacterColorPage *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(CharacterColorPage *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; CharacterColorPage::onClose from 0x10065d760 to 0x10065d7a2 (66 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::init @ 0x10065ccc2\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, 0x10065d760\nmov     rbp, rsp                                                       ; +0x1, 0x10065d761\npush    rbx                                                            ; +0x4, 0x10065d764\npush    rax                                                            ; +0x5, 0x10065d765\nmov     rbx, rdi                                                       ; +0x6, 0x10065d766\nmov     rdi, [rdi+2A8h]                                                ; +0x9, 0x10065d769\ntest    rdi, rdi                                                       ; +0x10, 0x10065d770\njz      short loc_10065D77A                                            ; +0x13, 0x10065d773\nmov     rax, [rdi]                                                     ; +0x15, 0x10065d775\ncall    qword ptr [rax]                                                ; +0x18, 0x10065d778\nmov     rax, [rbx]                                                     ; +0x1a, 0x10065d77a\nmov     rdi, rbx                                                       ; +0x1d, 0x10065d77d\nxor     esi, esi                                                       ; +0x20, 0x10065d780\ncall    qword ptr [rax+420h]                                           ; +0x22, 0x10065d782\nmov     rax, [rbx]                                                     ; +0x28, 0x10065d788\nmov     rax, [rax+200h]                                                ; +0x2b, 0x10065d78b\nmov     rdi, rbx                                                       ; +0x32, 0x10065d792\nmov     esi, 1                                                         ; +0x35, 0x10065d795\nadd     rsp, 8                                                         ; +0x3a, 0x10065d79a\npop     rbx                                                            ; +0x3e, 0x10065d79e\npop     rbp                                                            ; +0x3f, 0x10065d79f\njmp     rax                                                            ; +0x40, 0x10065d7a0", "xrefs": ["CharacterColorPage::init @ 0x10065ccc2"], "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"}