// // SetupSmartBlockLayer::onClose from 0x10006fca0 to 0x10006fd40 (160 bytes) // // 6 xrefs: // > SetupSmartBlockLayer::onCreate @ 0x10006fe18 // > SetupSmartBlockLayer::onCreateTemplate @ 0x10006fe90 // > SetupSmartBlockLayer::onPasteTemplate @ 0x100070078 // > SetupSmartBlockLayer::keyBackClicked @ 0x100070478 // > sub_10007047C @ 0x100070480 // > SetupSmartBlockLayer::init @ 0x10006f2e0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupSmartBlockLayer::onClose(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 SmartGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x0 __int64 v7; // x20 SmartGameObject *v8; // x0 v3 = cocos2d::CCDirector::sharedDirector(); v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { SmartGameObject::updateSmartFrame(m_gameObject); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_10024A36C(m_gameObjects) ) { v7 = 0; do { v8 = (SmartGameObject *)sub_10024A388(a1->m_gameObjects, v7); SmartGameObject::updateSmartFrame(v8); v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); } } ((void (__fastcall *)(SetupSmartBlockLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(SetupSmartBlockLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source