// // GJRotateCommandLayer::onLockRotation from 0x100003740 to 0x1000037c2 (130 bytes) // // 1 xrefs: // > GJRotateCommandLayer::init @ 0x10000274a // // 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 GJRotateCommandLayer::onLockRotation(GJRotateCommandLayer *a1, cocos2d::CCObject *a2) { bool v2; // al EffectGameObject *m_gameObject; // rcx cocos2d::CCArray *m_gameObjects; // rdi unsigned int v6; // r14d v2 = !a1->m_lockObjectRotation; a1->m_lockObjectRotation = v2; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_lockObjectRotation = v2; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v6 = 0; do *(_BYTE *)(sub_1007200C0(a1->m_gameObjects, v6++) + 1552) = a1->m_lockObjectRotation; while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source