// // GameObject::setRotation from 0x1005bbf20 to 0x1005bbfe7 (199 bytes) // // 47 xrefs: // > ParticleGameObject::setRotation @ 0x1001b2709 // > RingObject::setRotation @ 0x1001b4405 // > TeleportPortalObject::setRotation @ 0x1001bdfc0 // > TeleportPortalObject::setRotation2 @ 0x1001bdff5 // > PlayerObject::setRotation @ 0x10041d4e5 // > @ 0x1008c41c0 // > @ 0x1008c49f8 // > @ 0x1008c51f0 // > @ 0x1008c59e8 // > @ 0x1008c61e0 // > @ 0x1008c69d8 // > @ 0x1008c71d0 // > @ 0x1008c79c8 // > @ 0x1008c89c0 // > @ 0x1008c9238 // > @ 0x1008c9a48 // > @ 0x1008ca258 // > @ 0x1008caa68 // > @ 0x1008cb278 // > @ 0x1008cba88 // > @ 0x1008cc298 // > @ 0x1008ccaa8 // > @ 0x1008ceb48 // > @ 0x1008cf370 // > @ 0x1008cfb98 // > @ 0x1008d03c0 // > @ 0x1008d0be8 // > @ 0x1008d13f8 // > @ 0x1008d1c08 // > @ 0x1008d2418 // > @ 0x1008d2c28 // > @ 0x1008d3438 // > @ 0x1008d3c48 // > @ 0x1008d4458 // > @ 0x1008d4c68 // > @ 0x1008d5478 // > @ 0x1008d5c88 // > @ 0x1008d6498 // > @ 0x1008d6ca8 // > @ 0x1008d74b8 // > @ 0x1008d7cc8 // > @ 0x1008d84d8 // > @ 0x1008d8ce8 // > @ 0x100923490 // > @ 0x100971540 // > @ 0x100971d28 // > @ 0x100972538 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GameObject::setRotation(GameObject *a1, float a2) { cocos2d::CCSprite *m_glowSprite; // rdi cocos2d::CCSprite *m_colorSprite; // rdi cocos2d::CCParticleSystemQuad *m_particle; // rdi if ( a1->m_fRotationX != a2 || a1->m_fRotationY != a2 ) { *(_WORD *)&a1->m_isObjectRectDirty = 257; a1->m_isDirty = 1; CCSpritePlus::setRotation(a1, a2); m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) ((void (__fastcall *)(cocos2d::CCSprite *, double))m_glowSprite->setRotation)(m_glowSprite, *(double *)&a2); m_colorSprite = a1->m_colorSprite; if ( m_colorSprite && !a1->m_colorSpriteLocked ) ((void (__fastcall *)(cocos2d::CCSprite *, double))m_colorSprite->setRotation)(m_colorSprite, *(double *)&a2); m_particle = a1->m_particle; if ( m_particle ) { if ( !a1->m_particleLocked ) ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, double))m_particle->setRotation)( m_particle, *(double *)&a2); } a1->m_isRotationAligned = _mm_movemask_ps( _mm_cmpeq_ps( _mm_shuffle_ps(*(__m128 *)&a2, *(__m128 *)&a2, 0), (__m128)xmmword_10081F3E0)) != 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source