{"type": "func", "start": 9990724, "end": 9990856, "name": "CustomizeObjectSettingsPopup::onClose", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onClose from 0x987244 to 0x9872c8 (132 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xbcc80\n// > <???> @ 0x14721b8\n// \n// This function is hookable on this platform (idp: arm, 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:57:54 +0000\n// \n\n__int64 __fastcall CustomizeObjectSettingsPopup::onClose(CustomizeObjectSettingsPopup *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v4; // x0\n  __int64 v5; // x0\n  cocos2d::CCTouchDispatcher *v6; // x0\n  __int64 v8; // x0\n  cocos2d::CCTouchDispatcher *v9; // x0\n\n  v4 = *((cocos2d::CCDirector **)this + 127);\n  if ( v4 && (v4 = (cocos2d::CCDirector *)*((unsigned __int8 *)this + 1024), *((_BYTE *)this + 1024)) )\n  {\n    v5 = cocos2d::CCDirector::sharedDirector(v4);\n    v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, this);\n    SetupTriggerPopup::onClose(this, a2);\n    return CustomizeObjectLayer::recreateLayer(*((CustomizeObjectLayer ***)this + 127));\n  }\n  else\n  {\n    v8 = cocos2d::CCDirector::sharedDirector(v4);\n    v9 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 160LL))(v8);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v9, this);\n    return SetupTriggerPopup::onClose(this, a2);\n  }\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onClose from 0x987244 to 0x9872c8 (132 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xbcc80\n; > <???> @ 0x14721b8\n; \n; This function is hookable on this platform (idp: arm, 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:57:54 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x987244\nMOV             X29, SP                                                ; +0x4, 0x987248\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x98724c\nMOV             X19, X0                                                ; +0xc, 0x987250\nMOV             X20, X1                                                ; +0x10, 0x987254\nLDR             X0, [X0,#0x3F8]; this                                  ; +0x14, 0x987258\nCBZ             X0, loc_98729C                                         ; +0x18, 0x98725c\nLDRB            W0, [X19,#0x400]; this                                 ; +0x1c, 0x987260\nCBZ             W0, loc_98729C                                         ; +0x20, 0x987264\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x987268\nLDR             X1, [X0]                                               ; +0x28, 0x98726c\nLDR             X1, [X1,#0xA0]                                         ; +0x2c, 0x987270\nBLR             X1                                                     ; +0x30, 0x987274\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x34, 0x987278\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x98727c\nMOV             X0, X19; this                                          ; +0x3c, 0x987280\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x40, 0x987284\nBL              _ZN17SetupTriggerPopup7onCloseEPN7cocos2d8CCObjectE; SetupTriggerPopup::onClose(cocos2d::CCObject *) ; +0x44, 0x987288\nLDR             X0, [X19,#0x3F8]; this                                 ; +0x48, 0x98728c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x987290\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x987294\nB               _ZN20CustomizeObjectLayer13recreateLayerEv; CustomizeObjectLayer::recreateLayer(void) ; +0x54, 0x987298\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x98729c\nLDR             X1, [X0]                                               ; +0x5c, 0x9872a0\nLDR             X1, [X1,#0xA0]                                         ; +0x60, 0x9872a4\nBLR             X1                                                     ; +0x64, 0x9872a8\nMOV             X1, X19; cocos2d::CCObject *                           ; +0x68, 0x9872ac\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x6c, 0x9872b0\nMOV             X0, X19; this                                          ; +0x70, 0x9872b4\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x74, 0x9872b8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x78, 0x9872bc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x7c, 0x9872c0\nB               _ZN17SetupTriggerPopup7onCloseEPN7cocos2d8CCObjectE; SetupTriggerPopup::onClose(cocos2d::CCObject *) ; +0x80, 0x9872c4", "xrefs": ["<???> @ 0xbcc80", "<???> @ 0x14721b8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}