// // SetupSmartBlockLayer::onAllowFlipping from 0x1000702e4 to 0x100070368 (132 bytes) // // 2 xrefs: // > SetupSmartBlockLayer::init @ 0x10006f7d0 // > SetupSmartBlockLayer::init @ 0x10006f890 // // 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::onAllowFlipping(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v4; // x0 GJSmartTemplate *ActiveSmartTemplate; // x20 bool v6; // w8 bool v7; // w8 if ( a2 ) { v4 = GameLevelManager::sharedState(); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v4); if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 3 ) { v6 = !a1->m_allowFlipX; a1->m_allowFlipX = v6; if ( ActiveSmartTemplate ) ActiveSmartTemplate->m_allowFlipX = v6; } else { v7 = !a1->m_allowFlipY; a1->m_allowFlipY = v7; if ( ActiveSmartTemplate ) ActiveSmartTemplate->m_allowFlipY = v7; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source