// // SetupSmartBlockLayer::onClose from 0x9dbeb4 to 0x9dbf54 (160 bytes) // // 8 xrefs: // > SetupSmartBlockLayer::keyBackClicked @ 0x9dbf58 // > SetupSmartBlockLayer::onCreate @ 0x9dbfec // > SetupSmartBlockLayer::onCreate @ 0x9dc04c // > SetupSmartBlockLayer::onCreateTemplate @ 0x9dc0a8 // > SetupSmartBlockLayer::onPasteTemplate @ 0x9dc4a0 // > @ 0x7c440 // > SetupSmartBlockLayer::init @ 0x9dcf34 // > @ 0x122c298 // // 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 SetupSmartBlockLayer::onClose(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 SmartGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x0 unsigned int v7; // w19 SmartGameObject *v8; // x0 bool v9; // cf unsigned int v10; // w1 v3 = cocos2d::CCDirector::sharedDirector(); v4 = 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 ) { v7 = 0; while ( 1 ) { v9 = v7 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v10 = v7++; if ( v9 ) break; v8 = (SmartGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v10); SmartGameObject::updateSmartFrame(v8); m_gameObjects = a1->m_gameObjects; } } } a1->setKeypadEnabled(a1, 0); a1->removeFromParentAndCleanup(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source