{"type": "func", "start": 4296185344, "end": 4296185428, "name": "CharacterColorPage::onClose", "pseudocode": "// \n// CharacterColorPage::onClose from 0x100129600 to 0x100129654 (84 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::init @ 0x100128e18\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; // x0\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 0x100129600 to 0x100129654 (84 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::init @ 0x100128e18\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100129600\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100129604\nADD             X29, SP, #0x10                                         ; +0x8, 0x100129608\nMOV             X19, X0                                                ; +0xc, 0x10012960c\nLDR             X0, [X0,#0x2A8]                                        ; +0x10, 0x100129610\nCBZ             X0, loc_100129624                                      ; +0x14, 0x100129614\nLDR             X8, [X0]                                               ; +0x18, 0x100129618\nLDR             X8, [X8]                                               ; +0x1c, 0x10012961c\nBLR             X8                                                     ; +0x20, 0x100129620\nLDR             X8, [X19]                                              ; +0x24, 0x100129624\nLDR             X8, [X8,#0x420]                                        ; +0x28, 0x100129628\nMOV             X0, X19                                                ; +0x2c, 0x10012962c\nMOV             W1, #0                                                 ; +0x30, 0x100129630\nBLR             X8                                                     ; +0x34, 0x100129634\nLDR             X8, [X19]                                              ; +0x38, 0x100129638\nLDR             X2, [X8,#0x200]                                        ; +0x3c, 0x10012963c\nMOV             X0, X19                                                ; +0x40, 0x100129640\nMOV             W1, #1                                                 ; +0x44, 0x100129644\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x100129648\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x10012964c\nBR              X2                                                     ; +0x50, 0x100129650", "xrefs": ["CharacterColorPage::init @ 0x100128e18"], "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"}