//
// CCContentLayer::setPosition from 0x100221cf8 to 0x100221d60 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fcf18
//
// This function is hookable on this platform (idp: arm, 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 11:01:08 +0000
//
__int64 __fastcall CCContentLayer::setPosition(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v4; // x19
__int64 v5; // x20
_QWORD *v6; // x0
cocos2d::CCNode::setPosition_1(a1, a2);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1);
if ( result )
{
v4 = result;
result = sub_1002E757C(result);
if ( (_DWORD)result )
{
v5 = 0;
do
{
v6 = (_QWORD *)sub_1002E75A0(v4, v5);
sub_1000379B8(v6);
v5 = (unsigned int)(v5 + 1);
result = sub_1002E757C(v4);
}
while ( (unsigned int)v5 < (unsigned int)result );
}
}
return result;
}