//
// CCSpritePlus::setRotationX from 0x1001b7d9c to 0x1001b7e14 (120 bytes)
//
// 4 xrefs:
// > GameObject::setRotationX @ 0x10025b40c
// > ??> @ 0x10077b8e8
// > ??> @ 0x1007b30f0
// > ??> @ 0x1007ef770
//
// 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 CCSpritePlus::setRotationX(CCSpritePlus *a1, float a2)
{
__int64 v4; // x20
__int64 v5; // x0
cocos2d::CCSprite::setRotationX(a1, a2);
if ( a1->m_hasFollower && (unsigned int)sub_10024A36C(a1->m_followers) )
{
v4 = 0;
do
{
v5 = sub_10024A388(a1->m_followers, v4);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 360LL))(v5, a2);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_followers) );
}
}