// // SetupSmartTemplateLayer::onClose from 0xb17b08 to 0xb17bd8 (208 bytes) // // 3 xrefs: // > SetupSmartTemplateLayer::onBack @ 0xb17be0 // > SetupSmartTemplateLayer::onClick @ 0xb197ec // > @ 0xb1028 // // This function is hookable on this platform (idp: arm, 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 13:01:32 +0000 // __int64 __fastcall SetupSmartTemplateLayer::onClose(SetupSmartTemplateLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x0 __int64 v4; // x0 __int64 *v5; // x20 __int64 v6; // x2 cocos2d::CCString *v7; // x0 size_t v8; // x0 cocos2d::CCDirector *v9; // x0 __int64 v10; // x0 cocos2d::CCTouchDispatcher *v11; // x0 const char *CString; // [xsp+28h] [xbp+28h] v3 = *((_QWORD *)this + 86); if ( v3 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 344LL))(v3, 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 1160LL))(*((_QWORD *)this + 85), 0); v4 = *((_QWORD *)this + 84); v5 = (__int64 *)(v4 + 144); v6 = *(_BYTE *)(v4 + 144) >> 1; if ( (*(_BYTE *)(v4 + 144) & 1) != 0 ) v6 = *(_QWORD *)(v4 + 152); if ( !v6 ) { v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"SmartTemplate_%i", (const char *)*(unsigned int *)(v4 + 192)); CString = (const char *)cocos2d::CCString::getCString(v7); v8 = strlen(CString); std::string::assign(v5, CString, v8); } (*(void (__fastcall **)(SetupSmartTemplateLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0); v9 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(SetupSmartTemplateLayer *, __int64))(*(_QWORD *)this + 528LL))( this, 1); v10 = cocos2d::CCDirector::sharedDirector(v9); v11 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 160LL))(v10); return cocos2d::CCTouchDispatcher::unregisterForcePrio(v11, this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source