// // SetupSmartBlockLayer::onAllowRotation from 0x1004e7410 to 0x1004e7446 (54 bytes) // // 1 xrefs: // > SetupSmartBlockLayer::init @ 0x1004e6502 // // 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 *v2; // rax GJSmartTemplate *ActiveSmartTemplate; // rax a1->m_allowRotation ^= 1u; v2 = GameLevelManager::sharedState(); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v2); if ( ActiveSmartTemplate ) ActiveSmartTemplate->m_allowRotation = a1->m_allowRotation; }
GD Web Decomp Icon

GD Web Decomp

Raw Source