//
// cocos2d::CCSprite::setPosition from 0x100238b1c to 0x100238bb4 (152 bytes)
//
// 27 xrefs:
// > CCSpritePlus::setPosition @ 0x1001b7cc4
// > GameObject::quickUpdatePosition @ 0x10025b0bc
// > ??> @ 0x100763378
// > ??> @ 0x1007734a8
// > ??> @ 0x100773de0
// > ??> @ 0x100774f48
// > ??> @ 0x100777af8
// > ??> @ 0x10077b298
// > ??> @ 0x100785ae8
// > ??> @ 0x100790888
// > ??> @ 0x100799678
// > ??> @ 0x1007acad0
// > ??> @ 0x1007ad088
// > ??> @ 0x1007b8b00
// > ??> @ 0x1007b9c50
// > ??> @ 0x1007c44a8
// > ??> @ 0x1007c73b0
// > ??> @ 0x1007c7e90
// > ??> @ 0x1007c96b0
// > ??> @ 0x1007c9c68
// > ??> @ 0x1007e5100
// > ??> @ 0x1007ea128
// > ??> @ 0x1007ea6e0
// > ??> @ 0x1007ec310
// > ??> @ 0x1007ec898
// > ??> @ 0x10080ac48
// > ??> @ 0x100810c58
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCSprite::setPosition(cocos2d::CCSprite *a1, const cocos2d::CCPoint *a2)
{
if ( a1->m_obPosition.x != a2->x || a1->m_obPosition.y != a2->y )
{
cocos2d::CCNode::setPosition_1(a1, a2);
if ( a1->m_pobBatchNode && !a1->m_bRecursiveDirty )
{
a1->m_bRecursiveDirty = 1;
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirty)(a1, 1);
if ( a1->m_bHasChildren )
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->setDirtyRecursively)(a1, 1);
}
}
}