// // SetupSmartBlockLayer::onClose from 0x6725f8 to 0x67265a (98 bytes) // // 4 xrefs: // > SetupSmartBlockLayer::keyBackClicked @ 0x67265c // > SetupSmartBlockLayer::onCreate @ 0x67270a // > SetupSmartBlockLayer::onCreateTemplate @ 0x672756 // > SetupSmartBlockLayer::onPasteTemplate @ 0x673afc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:55:53 +0000 // int __fastcall SetupSmartBlockLayer::onClose(cocos2d::CCArray **this, cocos2d::CCObject *a2) { int v3; // r0 cocos2d::CCTouchDispatcher *v4; // r0 int v5; // r0 unsigned int i; // r5 int v7; // r0 v3 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); v4 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 80))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, (cocos2d::CCObject *)this); v5 = (int)*(this + 134); if ( v5 ) { SmartGameObject::updateSmartFrame(v5); } else if ( *(this + 135) ) { for ( i = (unsigned int)*(this + 134); i < cocos2d::CCArray::count(*(this + 135)); ++i ) { v7 = cocos2d::CCArray::objectAtIndex(*(this + 135), i); SmartGameObject::updateSmartFrame(v7); } } (*((void (__fastcall **)(cocos2d::CCArray **, _DWORD))*this + 134))(this, 0); return (*((int (__fastcall **)(cocos2d::CCArray **, int))*this + 66))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source