//
// CCSpritePlus::setRotationY from 0x3e6666 to 0x3e66a0 (58 bytes)
//
// 1 xrefs:
// > GameObject::setRotationY @ 0x44bfe0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:05 +0000
//
unsigned int __fastcall CCSpritePlus::setRotationY(cocos2d::CCArray **this, float a2)
{
unsigned int result; // r0
unsigned int i; // r4
int v6; // r0
result = cocos2d::CCSprite::setRotationY((cocos2d::CCSprite *)this, a2);
if ( *((_BYTE *)this + 516) )
{
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*(this + 127));
if ( i >= result )
break;
v6 = cocos2d::CCArray::objectAtIndex(*(this + 127), i);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 196))(v6, LODWORD(a2));
}
}
return result;
}