// // SetupSmartTemplateLayer::onClose from 0x1405ef670 to 0x1405ef739 (201 bytes) // // 5 xrefs: // > SetupSmartTemplateLayer::onClick @ 0x1405ef137 // > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1405ef20f // > SetupSmartTemplateLayer::onBack @ 0x1405ef644 // > SetupSmartTemplateLayer::keyBackClicked @ 0x1405ef74b // > @ 0x14092f174 // // 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:35:05 +0000 // void __fastcall SetupSmartTemplateLayer::onClose(struct cocos2d::CCObject *a1, __int64 a2) { __int64 v3; // rcx __int64 v4; // rdx cocos2d::CCString *v5; // rax char *CString; // rax size_t v7; // r8 __int64 v8; // rdx __int64 v9; // rcx __int64 v10; // rax cocos2d::CCTouchDispatcher *v11; // rax v3 = *((_QWORD *)a1 + 86); if ( v3 ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 336LL))(v3, a2); } (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)a1 + 85) + 1032LL))(*((_QWORD *)a1 + 85), 0); v4 = *((_QWORD *)a1 + 84); if ( !*(_QWORD *)(v4 + 152) ) { v5 = cocos2d::CCString::createWithFormat("SmartTemplate_%i", *(_DWORD *)(v4 + 200)); CString = (char *)cocos2d::CCString::getCString(v5); v7 = -1; do ++v7; while ( CString[v7] ); sub_1400405A0((void **)(*((_QWORD *)a1 + 84) + 136LL), CString, v7); } (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); LOBYTE(v8) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v8); v10 = cocos2d::CCDirector::sharedDirector(v9); v11 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 144LL))(v10); cocos2d::CCTouchDispatcher::unregisterForcePrio(v11, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source