//
// cocos2d::CCSprite::setAnchorPoint from 0x18008f380 to 0x18008f3d9 (89 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1a90
// > ??> @ 0x1800f1f78
// > ??> @ 0x1800f2b28
// > ??> @ 0x180109f68
// > ??> @ 0x18010cf80
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bff4c
//
// 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 11:22:07 +0000
//
void __fastcall cocos2d::CCSprite::setAnchorPoint(cocos2d::CCSprite *this, const struct cocos2d::CCPoint *a2)
{
__int64 v3; // rdx
__int64 v4; // rax
__int64 v5; // rdx
cocos2d::CCNode::setAnchorPoint(this, a2);
if ( *((_QWORD *)this + 46) && !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
LOBYTE(v3) = 1;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1048))(this, v3);
if ( *((_BYTE *)this + 378) )
{
LOBYTE(v5) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1080LL))(this, v5);
}
}
}