// // GameObject::setRotation from 0x10025b2fc to 0x10025b3d4 (216 bytes) // // 47 xrefs: // > PlayerObject::setRotation @ 0x10022e72c // > ParticleGameObject::setRotation @ 0x100381928 // > RingObject::setRotation @ 0x100382794 // > TeleportPortalObject::setRotation @ 0x100387b80 // > TeleportPortalObject::setRotation2 @ 0x100387bb8 // > @ 0x1007cf9e0 // > @ 0x1007d01c8 // > @ 0x1007d09d8 // > @ 0x1007f5248 // > @ 0x1007f5a80 // > @ 0x1007f6278 // > @ 0x1007f6a70 // > @ 0x1007f7268 // > @ 0x1007f7a60 // > @ 0x1007f8258 // > @ 0x1007f8a50 // > @ 0x1007f9a48 // > @ 0x1007fa2b0 // > @ 0x1007faac0 // > @ 0x1007fb2d0 // > @ 0x1007fbae0 // > @ 0x1007fc2f0 // > @ 0x1007fcb00 // > @ 0x1007fd310 // > @ 0x1007fdb20 // > @ 0x1007ffbc0 // > @ 0x1008003e8 // > @ 0x100800c10 // > @ 0x100801438 // > @ 0x100801c60 // > @ 0x100802470 // > @ 0x100802c80 // > @ 0x100803490 // > @ 0x100803ca0 // > @ 0x1008044b0 // > @ 0x100804cc0 // > @ 0x1008054d0 // > @ 0x100805ce0 // > @ 0x1008064f0 // > @ 0x100806d00 // > @ 0x100807510 // > @ 0x100807d20 // > @ 0x100808530 // > @ 0x100808d40 // > @ 0x100809550 // > @ 0x100809d60 // > @ 0x100816080 // // 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; // x0 cocos2d::CCSprite *m_colorSprite; // x0 cocos2d::CCParticleSystemQuad *m_particle; // x0 int32x2_t v6; // d0 __n128 v7; // [xsp+0h] [xbp-20h] if ( a1->m_fRotationX != a2 || a1->m_fRotationY != a2 ) { *(_WORD *)&a1->m_isObjectRectDirty = 257; a1->m_isDirty = 1; v7 = *(__n128 *)&a2; CCSpritePlus::setRotation(a1, a2); m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) ((void (__fastcall *)(cocos2d::CCSprite *, __n128))m_glowSprite->setRotation)(m_glowSprite, v7); m_colorSprite = a1->m_colorSprite; if ( m_colorSprite && !a1->m_colorSpriteLocked ) ((void (__fastcall *)(cocos2d::CCSprite *, __n128))m_colorSprite->setRotation)(m_colorSprite, v7); m_particle = a1->m_particle; v6 = (int32x2_t)v7.n128_u64[0]; if ( m_particle ) { if ( !a1->m_particleLocked ) { ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __n128))m_particle->setRotation)(m_particle, v7); v6 = (int32x2_t)v7.n128_u64[0]; } } a1->m_isRotationAligned = vmaxv_u16((uint16x4_t)vmovn_s32( vceqq_f32( (float32x4_t)vdupq_lane_s32(v6, 0), (float32x4_t)xmmword_100642870))) & 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source