// // SetupSmartBlockLayer::onClose from 0x1405edd60 to 0x1405ede11 (177 bytes) // // 8 xrefs: // > SetupSmartBlockLayer::onPasteTemplate @ 0x1405edaa6 // > SetupSmartBlockLayer::onCreate @ 0x1405ee245 // > SetupSmartBlockLayer::onCreateTemplate @ 0x1405ee348 // > SetupSmartBlockLayer::keyBackClicked @ 0x1405ee409 // > SetupSmartBlockLayer::init @ 0x1405ec6f9 // > @ 0x1408e2d30 // > @ 0x1408e2d40 // > @ 0x14092f0cc // // 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:04 +0000 // __int64 __fastcall SetupSmartBlockLayer::onClose(__int64 a1) { __int64 v2; // rax cocos2d::CCTouchDispatcher *v3; // rax __int64 v4; // rcx cocos2d::CCArray *v5; // rcx unsigned int v6; // ebx struct cocos2d::CCObject *v7; // rax __int64 v8; // rdx v2 = cocos2d::CCDirector::sharedDirector(a1); v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2); cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, (struct cocos2d::CCObject *)a1); v4 = *(_QWORD *)(a1 + 688); if ( v4 ) { SmartGameObject::updateSmartFrame(v4); } else { v5 = *(cocos2d::CCArray **)(a1 + 696); if ( v5 ) { v6 = 0; if ( cocos2d::CCArray::count(v5) ) { do { v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 696), v6); SmartGameObject::updateSmartFrame(v7); ++v6; } while ( v6 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 696)) ); } } } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); LOBYTE(v8) = 1; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source