//
// ExtendedLayer::setPosition from 0x689238 to 0x6892b8 (128 bytes)
//
// 2 xrefs:
// > ??> @ 0x6ad38
// > ??> @ 0x14130e8
//
// 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 12:50:32 +0000
//
__int64 __fastcall ExtendedLayer::setPosition(ExtendedLayer *this, const cocos2d::CCPoint *a2)
{
__int64 v4; // x20
const cocos2d::CCPoint *v5; // x1
void (__fastcall *v6)(__int64, _BYTE *); // x22
_BYTE v8[8]; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCNode::setPosition(this, a2);
v4 = *((_QWORD *)this + 51);
if ( v4 )
{
v5 = a2;
v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 16LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5);
v6(v4, v8);
}
return _stack_chk_guard;
}