{"type": "func", "start": 5771342, "end": 5771398, "name": "CustomizeObjectSettingsPopup::onClose", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onClose from 0x58104e to 0x581086 (56 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:53 +0000\n// \n\nint __fastcall CustomizeObjectSettingsPopup::onClose(CustomizeObjectSettingsPopup *this, cocos2d::CCObject *a2)\n{\n  int v3; // r5\n  int v5; // r0\n  cocos2d::CCTouchDispatcher *v6; // r0\n  int result; // r0\n\n  v3 = *((_DWORD *)this + 178);\n  if ( v3 )\n    v3 = *((unsigned __int8 *)this + 716);\n  v5 = cocos2d::CCDirector::sharedDirector(this);\n  v6 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 80))(v5);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, this);\n  result = SetupTriggerPopup::onClose(this, a2);\n  if ( v3 )\n    return CustomizeObjectLayer::recreateLayer(*((CustomizeObjectLayer ***)this + 178));\n  return result;\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onClose from 0x58104e to 0x581086 (56 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:53 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x58104e\nMOV             R4, R0                                                 ; +0x2, 0x581050\nLDR.W           R5, [R0,#0x2C8]                                        ; +0x4, 0x581052\nMOV             R6, R1                                                 ; +0x8, 0x581056\nCBZ             R5, loc_58105E                                         ; +0xa, 0x581058\nLDRB.W          R5, [R0,#0x2CC]                                        ; +0xc, 0x58105a\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x58105e\nLDR             R3, [R0]                                               ; +0x14, 0x581062\nLDR             R3, [R3,#0x50]                                         ; +0x16, 0x581064\nBLX             R3                                                     ; +0x18, 0x581066\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x1a, 0x581068\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x1c, 0x58106a\nMOV             R0, R4; this                                           ; +0x20, 0x58106e\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x22, 0x581070\nBL              _ZN17SetupTriggerPopup7onCloseEPN7cocos2d8CCObjectE; SetupTriggerPopup::onClose(cocos2d::CCObject *) ; +0x24, 0x581072\nCBZ             R5, locret_581084                                      ; +0x28, 0x581076\nLDR.W           R0, [R4,#0x2C8]; this                                  ; +0x2a, 0x581078\nPOP.W           {R4-R6,LR}                                             ; +0x2e, 0x58107c\nB.W             _ZN20CustomizeObjectLayer13recreateLayerEv; CustomizeObjectLayer::recreateLayer(void) ; +0x32, 0x581080\nPOP             {R4-R6,PC}                                             ; +0x36, 0x581084", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}