//
// GameObject::setRotationX from 0x10025b3d4 to 0x10025b4a0 (204 bytes)
//
// 47 xrefs:
// > ParticleGameObject::setRotationX @ 0x100381978
// > ??> @ 0x1007c3d20
// > ??> @ 0x1007cf9f0
// > ??> @ 0x1007d01d8
// > ??> @ 0x1007d09e8
// > ??> @ 0x1007f5258
// > ??> @ 0x1007f5a90
// > ??> @ 0x1007f6288
// > ??> @ 0x1007f6a80
// > ??> @ 0x1007f7278
// > ??> @ 0x1007f7a70
// > ??> @ 0x1007f8268
// > ??> @ 0x1007f8a60
// > ??> @ 0x1007f9a58
// > ??> @ 0x1007fa2c0
// > ??> @ 0x1007faad0
// > ??> @ 0x1007fb2e0
// > ??> @ 0x1007fbaf0
// > ??> @ 0x1007fc300
// > ??> @ 0x1007fcb10
// > ??> @ 0x1007fd320
// > ??> @ 0x1007fdb30
// > ??> @ 0x1007fe340
// > ??> @ 0x1007feb50
// > ??> @ 0x1007ff378
// > ??> @ 0x1007ffbd0
// > ??> @ 0x1008003f8
// > ??> @ 0x100800c20
// > ??> @ 0x100801448
// > ??> @ 0x100801c70
// > ??> @ 0x100802480
// > ??> @ 0x100802c90
// > ??> @ 0x1008034a0
// > ??> @ 0x100803cb0
// > ??> @ 0x1008044c0
// > ??> @ 0x100804cd0
// > ??> @ 0x1008054e0
// > ??> @ 0x100805cf0
// > ??> @ 0x100806500
// > ??> @ 0x100806d10
// > ??> @ 0x100807520
// > ??> @ 0x100807d30
// > ??> @ 0x100808540
// > ??> @ 0x100808d50
// > ??> @ 0x100809560
// > ??> @ 0x100809d70
// > ??> @ 0x100816090
//
// 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 GameObject::setRotationX(GameObject *a1, float a2)
{
cocos2d::CCSprite *m_glowSprite; // x0
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCParticleSystemQuad *m_particle; // x0
if ( a1->m_fRotationX != a2 )
{
*(_WORD *)&a1->m_isObjectRectDirty = 257;
a1->m_isDirty = 1;
CCSpritePlus::setRotationX(a1, a2);
m_glowSprite = a1->m_glowSprite;
if ( m_glowSprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setRotationX)(m_glowSprite, a2);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite && !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setRotationX)(m_colorSprite, a2);
m_particle = a1->m_particle;
if ( m_particle )
{
if ( !a1->m_particleLocked )
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))m_particle->setRotationX)(m_particle, a2);
}
a1->m_isRotationAligned = vmaxv_u16((uint16x4_t)vmovn_s32(
vceqq_f32(
vld1q_dup_f32(&a1->m_fRotationX),
(float32x4_t)xmmword_100642870)))
& 1;
}
}