{"type": "func", "start": 8667500, "end": 8667632, "name": "CustomizeObjectSettingsPopup::onClose", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onClose from 0x84416c to 0x8441f0 (132 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x8ea10\n// > <???> @ 0x118d0b8\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 CustomizeObjectSettingsPopup::onClose(CustomizeObjectSettingsPopup *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v4; // x0\n  cocos2d::CCTouchDispatcher *v5; // x0\n  cocos2d::CCDirector *v6; // x0\n  cocos2d::CCTouchDispatcher *v7; // x0\n\n  if ( a1->m_customizeLayer && a1->m_settingsChanged )\n  {\n    v4 = cocos2d::CCDirector::sharedDirector();\n    v5 = v4->getTouchDispatcher(v4);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);\n    SetupTriggerPopup::onClose(a1, a2);\n    CustomizeObjectLayer::recreateLayer(a1->m_customizeLayer);\n  }\n  else\n  {\n    v6 = cocos2d::CCDirector::sharedDirector();\n    v7 = v6->getTouchDispatcher(v6);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, a1);\n    SetupTriggerPopup::onClose(a1, a2);\n  }\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onClose from 0x84416c to 0x8441f0 (132 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x8ea10\n; > <???> @ 0x118d0b8\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x84416c\nMOV             X29, SP                                                ; +0x4, 0x844170\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x844174\nMOV             X19, X0                                                ; +0xc, 0x844178\nLDR             X0, [X0,#0x3C8]; this                                  ; +0x10, 0x84417c\nMOV             X20, X1                                                ; +0x14, 0x844180\nCBZ             X0, loc_8441C4                                         ; +0x18, 0x844184\nLDRB            W0, [X19,#0x3D0]; this                                 ; +0x1c, 0x844188\nCBZ             W0, loc_8441C4                                         ; +0x20, 0x84418c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x844190\nLDR             X1, [X0]                                               ; +0x28, 0x844194\nLDR             X1, [X1,#0xA0]                                         ; +0x2c, 0x844198\nBLR             X1                                                     ; +0x30, 0x84419c\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x34, 0x8441a0\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x8441a4\nMOV             X0, X19; this                                          ; +0x3c, 0x8441a8\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x40, 0x8441ac\nBL              _ZN17SetupTriggerPopup7onCloseEPN7cocos2d8CCObjectE; SetupTriggerPopup::onClose(cocos2d::CCObject *) ; +0x44, 0x8441b0\nLDR             X0, [X19,#0x3C8]; this                                 ; +0x48, 0x8441b4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x8441b8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x8441bc\nB               _ZN20CustomizeObjectLayer13recreateLayerEv; CustomizeObjectLayer::recreateLayer(void) ; +0x54, 0x8441c0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x8441c4\nLDR             X1, [X0]                                               ; +0x5c, 0x8441c8\nLDR             X1, [X1,#0xA0]                                         ; +0x60, 0x8441cc\nBLR             X1                                                     ; +0x64, 0x8441d0\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x68, 0x8441d4\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x6c, 0x8441d8\nMOV             X0, X19; this                                          ; +0x70, 0x8441dc\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x74, 0x8441e0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x78, 0x8441e4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x7c, 0x8441e8\nB               _ZN17SetupTriggerPopup7onCloseEPN7cocos2d8CCObjectE; SetupTriggerPopup::onClose(cocos2d::CCObject *) ; +0x80, 0x8441ec", "xrefs": ["<???> @ 0x8ea10", "<???> @ 0x118d0b8"], "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"}