//
// cocos2d::CCSprite::setPosition from 0x100275370 to 0x1002753ef (127 bytes)
//
// 31 xrefs:
// > CCSpritePlus::setPosition @ 0x100476530
// > GameObject::quickUpdatePosition @ 0x10068d3c8
// > ??> @ 0x100ab7488
// > ??> @ 0x100abb428
// > ??> @ 0x100ae1560
// > ??> @ 0x100ae4d38
// > ??> @ 0x100af68f0
// > ??> @ 0x100af9f88
// > ??> @ 0x100b0c0e0
// > ??> @ 0x100b10f18
// > ??> @ 0x100b13108
// > ??> @ 0x100b1af60
// > ??> @ 0x100b1c2c0
// > ??> @ 0x100b1ce78
// > ??> @ 0x100b23fa8
// > ??> @ 0x100b24540
// > ??> @ 0x100b25a50
// > ??> @ 0x100b304c0
// > ??> @ 0x100b33298
// > ??> @ 0x100b3dbd0
// > ??> @ 0x100b46e58
// > ??> @ 0x100b4c1a8
// > ??> @ 0x100b59668
// > ??> @ 0x100b87290
// > ??> @ 0x100b87858
// > ??> @ 0x100b87e20
// > ??> @ 0x100b8d6a8
// > ??> @ 0x100b8dc70
// > ??> @ 0x100b99048
// > ??> @ 0x100bac150
// > ??> @ 0x100bb9758
//
// This function is hookable on this platform (idp: pc, 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:27:38 +0000
//
void __fastcall cocos2d::CCSprite::setPosition(__int64 a1, __int64 a2)
{
if ( *(float *)(a1 + 76) != *(float *)a2 || *(float *)(a1 + 80) != *(float *)(a2 + 4) )
{
cocos2d::CCNode::setPosition_1(a1, (_QWORD *)a2);
if ( *(_QWORD *)(a1 + 368) && !*(_BYTE *)(a1 + 377) )
{
*(_BYTE *)(a1 + 377) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
}
}