//
// cocos2d::CCNode::setAnchorPoint from 0x7c38b0 to 0x7c3924 (116 bytes)
//
// 6 xrefs:
// > cocos2d::extension::CCEditBox::setAnchorPoint @ 0x7b0dca
// > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x7d600a
// > cocos2d::CCLayer::CCLayer @ 0x7d7a48
// > cocos2d::CCScene::CCScene @ 0x7d8660
// > cocos2d::CCProgressTimer::setAnchorPoint @ 0x7df868
// > cocos2d::CCSprite::setAnchorPoint @ 0x7f20d8
//
// 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:00:22 +0000
//
int __fastcall cocos2d::CCNode::setAnchorPoint(cocos2d::CCNode *this, const cocos2d::CCPoint *a2)
{
char *v2; // r7
int result; // r0
_BYTE v6[8]; // [sp+4h] [bp-10h] BYREF
v2 = (char *)this + 96;
result = cocos2d::CCPoint::equals(a2, (cocos2d::CCNode *)((char *)this + 96));
if ( !result )
{
cocos2d::CCPoint::operator=(v2, a2);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v6,
*((float *)this + 26) * *((float *)this + 24),
*((float *)this + 27) * *((float *)this + 25));
result = cocos2d::CCPoint::operator=((char *)this + 88, v6);
*((_BYTE *)this + 236) = 1;
*((_BYTE *)this + 225) = 1;
}
return result;
}