//
// cocos2d::CCSprite::setAnchorPoint from 0x7f20d4 to 0x7f2112 (62 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:05 +0000
//
int __fastcall cocos2d::CCSprite::setAnchorPoint(cocos2d::CCSprite *this, const cocos2d::CCPoint *a2)
{
int result; // r0
int v4; // r3
result = cocos2d::CCNode::setAnchorPoint(this, a2);
if ( *((_DWORD *)this + 73) && !*((_BYTE *)this + 297) )
{
v4 = *(_DWORD *)this;
*((_BYTE *)this + 297) = 1;
result = (*(int (__fastcall **)(cocos2d::CCSprite *, int))(v4 + 600))(this, 1);
if ( *((_BYTE *)this + 298) )
return (*(int (__fastcall **)(cocos2d::CCSprite *, int))(*(_DWORD *)this + 616))(this, 1);
}
return result;
}