// // GameObject::setRotation from 0x352d94 to 0x352e5e (202 bytes) // // 5 xrefs: // > PlayerObject::setRotation @ 0x33bf7e // > RingObject::setRotation @ 0x3e0de4 // > TeleportPortalObject::setRotation2 @ 0x3e0de8 // > TeleportPortalObject::setRotation @ 0x3e53b8 // > ParticleGameObject::setRotation @ 0x3e76b0 // // 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 GameObject::setRotation(GameObject *a1, float a2) { cocos2d::CCSprite *m_glowSprite; // r0 cocos2d::CCSprite *m_colorSprite; // r0 cocos2d::CCParticleSystemQuad *m_particle; // r0 bool v7; // r3 if ( a1->m_fRotationX != a2 || a1->m_fRotationY != a2 ) { a1->m_isObjectRectDirty = 1; a1->m_isOrientedBoxDirty = 1; a1->m_isDirty = 1; CCSpritePlus::setRotation(a1, a2); m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_glowSprite->setRotation)(m_glowSprite, LODWORD(a2)); m_colorSprite = a1->m_colorSprite; if ( m_colorSprite && !a1->m_colorSpriteLocked ) ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))m_colorSprite->setRotation)(m_colorSprite, LODWORD(a2)); m_particle = a1->m_particle; if ( m_particle && !a1->m_particleLocked ) ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _DWORD))m_particle->setRotation)(m_particle, LODWORD(a2)); v7 = a2 == 90.0 || a2 == -90.0 || a2 == 270.0 || a2 == -270.0; a1->m_isRotationAligned = v7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source