//
// CCSpritePlus::setRotation from 0x1004765a0 to 0x10047661d (125 bytes)
//
// 4 xrefs:
// > GameObject::setRotation @ 0x10068d6d2
// > ??> @ 0x100b260b0
// > ??> @ 0x100b46948
// > ??> @ 0x100ba6ea8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:35 +0000
//
void __fastcall CCSpritePlus::setRotation(__int64 a1, float a2)
{
unsigned int v2; // r14d
__int64 v3; // rax
cocos2d::CCSprite::setRotation(a1, a2);
if ( *(_BYTE *)(a1 + 616) == 1 && (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) )
{
v2 = 0;
do
{
v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 600), v2);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 360LL))(v3, a2);
++v2;
}
while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) );
}
}