//
// cocos2d::CCSprite::setAnchorPoint from 0x1002d5a0c to 0x1002d5a80 (116 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008ae998
// > ??> @ 0x1008bfe98
// > ??> @ 0x1008c07f0
// > ??> @ 0x1008c1a00
// > ??> @ 0x1008c3fc8
// > ??> @ 0x1008c7a18
// > ??> @ 0x1008c7fc8
// > ??> @ 0x1008d4288
// > ??> @ 0x1008dfd90
// > ??> @ 0x1008eeb00
// > ??> @ 0x100903e78
// > ??> @ 0x100904440
// > ??> @ 0x10090a838
// > ??> @ 0x100910668
// > ??> @ 0x100911878
// > ??> @ 0x10091c1f0
// > ??> @ 0x10091ca38
// > ??> @ 0x10091fa40
// > ??> @ 0x100920540
// > ??> @ 0x100921dc0
// > ??> @ 0x100922388
// > ??> @ 0x100928470
// > ??> @ 0x100928c68
// > ??> @ 0x100929488
// > ??> @ 0x10093ca68
// > ??> @ 0x1009422b0
// > ??> @ 0x100942878
// > ??> @ 0x1009445a8
// > ??> @ 0x100944b40
// > ??> @ 0x100947ab0
// > ??> @ 0x10094d448
// > ??> @ 0x10094dc90
// > ??> @ 0x10094e498
// > ??> @ 0x10094eca0
// > ??> @ 0x10094f4a8
// > ??> @ 0x10094fcb0
// > ??> @ 0x1009504b8
// > ??> @ 0x100950cc0
// > ??> @ 0x1009514b8
// > ??> @ 0x100951cd8
// > ??> @ 0x100952550
// > ??> @ 0x100952d70
// > ??> @ 0x100953590
// > ??> @ 0x100953db0
// > ??> @ 0x1009545d0
// > ??> @ 0x100954df0
// > ??> @ 0x100955610
// > ??> @ 0x100955e30
// > ??> @ 0x100956650
// > ??> @ 0x100956e70
// > ??> @ 0x1009576a8
// > ??> @ 0x100957f10
// > ??> @ 0x100958748
// > ??> @ 0x100958f80
// > ??> @ 0x1009597b8
// > ??> @ 0x100959ff0
// > ??> @ 0x10095a810
// > ??> @ 0x10095b030
// > ??> @ 0x10095b850
// > ??> @ 0x10095c070
// > ??> @ 0x10095c890
// > ??> @ 0x10095d0b0
// > ??> @ 0x10095d8d0
// > ??> @ 0x10095e0f0
// > ??> @ 0x10095e910
// > ??> @ 0x10095f130
// > ??> @ 0x10095f950
// > ??> @ 0x100960170
// > ??> @ 0x100960990
// > ??> @ 0x1009611b0
// > ??> @ 0x1009619d0
// > ??> @ 0x1009621f0
// > ??> @ 0x100962a10
// > ??> @ 0x1009639c8
// > ??> @ 0x100969de0
// > ??> @ 0x10096de10
// > ??> @ 0x10098c7c8
//
// 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:02:40 +0000
//
__int64 __fastcall cocos2d::CCSprite::setAnchorPoint(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::setAnchorPoint();
if ( *(_QWORD *)(a1 + 368) && (*(_BYTE *)(a1 + 377) & 1) == 0 )
{
*(_BYTE *)(a1 + 377) = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
return result;
}