//
// CCSpritePlus::setPosition from 0x3e65ba to 0x3e65f2 (56 bytes)
//
// 1 xrefs:
// > GameObject::setPosition @ 0x44ba28
//
// 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::setPosition(cocos2d::CCArray **this, const cocos2d::CCPoint *a2)
{
unsigned int result; // r0
unsigned int i; // r4
int v6; // r0
result = cocos2d::CCSprite::setPosition((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, const cocos2d::CCPoint *))(*(_DWORD *)v6 + 92))(v6, a2);
}
}
return result;
}