// // SetupSmartBlockLayer::onAllowFlipping from 0x53d188 to 0x53d1ce (70 bytes) // // 0 xrefs: // // 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::onAllowFlipping(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v4; // r0 GJSmartTemplate *ActiveSmartTemplate; // r4 bool v6; // r3 bool v7; // r3 if ( a2 ) { v4 = GameLevelManager::sharedState(); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v4); if ( 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