// // CustomizeObjectSettingsPopup::onClose from 0x140144700 to 0x140144801 (257 bytes) // // 2 xrefs: // > @ 0x140739008 // > @ 0x1409174ec // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:11 +0000 // void __fastcall CustomizeObjectSettingsPopup::onClose(__int64 a1, __int64 a2) { bool v4; // di __int64 v5; // rax cocos2d::CCTouchDispatcher *v6; // rax __int64 v7; // rcx __int64 v8; // rsi cocos2d::CCObject *v9; // rdi cocos2d::CCObject *v10; // rbx __int64 v11; // rax cocos2d::CCTouchDispatcher *v12; // rax _QWORD *v13; // rax v4 = *(_QWORD *)(a1 + 1000) && *(_BYTE *)(a1 + 1008); v5 = cocos2d::CCDirector::sharedDirector(a1); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, (struct cocos2d::CCObject *)a1); SetupTriggerPopup::onClose(a1, a2); if ( v4 ) { v8 = *(_QWORD *)(a1 + 1000); v9 = *(cocos2d::CCObject **)(v8 + 688); v10 = *(cocos2d::CCObject **)(v8 + 696); if ( v9 ) cocos2d::CCObject::retain(*(cocos2d::CCObject **)(v8 + 688)); if ( v10 ) cocos2d::CCObject::retain(v10); v11 = cocos2d::CCDirector::sharedDirector(v7); v12 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 144LL))(v11); cocos2d::CCTouchDispatcher::unregisterForcePrio(v12, (struct cocos2d::CCObject *)v8); CustomizeObjectLayer::onClose(v8); v13 = CustomizeObjectLayer::create((__int64)v9, (__int64)v10); (*(void (__fastcall **)(_QWORD *))(*v13 + 1064LL))(v13); if ( v9 ) cocos2d::CCObject::release(v9); if ( v10 ) cocos2d::CCObject::release(v10); } }