// // SetupSmartBlockLayer::onAllowRotation from 0x1000702a8 to 0x1000702e4 (60 bytes) // // 1 xrefs: // > SetupSmartBlockLayer::init @ 0x10006f728 // // 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::onAllowRotation(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 GJSmartTemplate *ActiveSmartTemplate; // x0 a1->m_allowRotation ^= 1u; v3 = GameLevelManager::sharedState(); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v3); if ( ActiveSmartTemplate ) ActiveSmartTemplate->m_allowRotation = a1->m_allowRotation; }
GD Web Decomp Icon

GD Web Decomp

Raw Source