//
// cocos2d::CCNode::setAnchorPoint from 0x5bcec8 to 0x5bcf3c (116 bytes)
//
// 6 xrefs:
// > cocos2d::extension::CCEditBox::setAnchorPoint @ 0x5ab112
// > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x5cdfee
// > cocos2d::CCLayer::CCLayer @ 0x5cf8b8
// > cocos2d::CCScene::CCScene @ 0x5d04d0
// > cocos2d::CCProgressTimer::setAnchorPoint @ 0x5d74b8
// > cocos2d::CCSprite::setAnchorPoint @ 0x5e7838
//
// 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 cocos2d::CCNode::setAnchorPoint(cocos2d::CCNode *a1, const cocos2d::CCPoint *a2)
{
PlayerObject *p_m_obAnchorPoint; // r7
int v5; // r2
bool v6; // r3
int v7; // r2
bool v8; // r3
cocos2d::CCPoint v9; // [sp+4h] [bp-10h] BYREF
p_m_obAnchorPoint = (PlayerObject *)&a1->m_obAnchorPoint;
if ( !cocos2d::CCPoint::equals((cocos2d::CCPoint *)a2, &a1->m_obAnchorPoint) )
{
cocos2d::CCPoint::operator=(p_m_obAnchorPoint, *(float *)&a2, v5, v6);
cocos2d::CCPoint::CCPoint(
&v9,
a1->m_obContentSize.width * a1->m_obAnchorPoint.x,
a1->m_obContentSize.height * a1->m_obAnchorPoint.y);
cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_obAnchorPointInPoints, COERCE_FLOAT(&v9), v7, v8);
a1->m_bInverseDirty = 1;
a1->m_bTransformDirty = 1;
}
}