//
// cocos2d::CCNode::setAnchorPoint from 0x180004aa0 to 0x180004b19 (121 bytes)
//
// 87 xrefs:
// > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x18004c406
// > cocos2d::CCLayer::CCLayer @ 0x18004eaea
// > cocos2d::CCScene::CCScene @ 0x180051a6f
// > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de87
// > cocos2d::CCProgressTimer::setAnchorPoint @ 0x18005dfa0
// > cocos2d::CCSprite::setAnchorPoint @ 0x18008c199
// > ??> @ 0x1800e54f0
// > ??> @ 0x1800e5b50
// > ??> @ 0x1800e5ec0
// > ??> @ 0x1800e6820
// > ??> @ 0x1800e6d28
// > ??> @ 0x1800eb4f0
// > ??> @ 0x1800ed000
// > ??> @ 0x1800ed4c0
// > ??> @ 0x1800ed9f8
// > ??> @ 0x1800edf60
// > ??> @ 0x1800ee538
// > ??> @ 0x1800ee9f8
// > ??> @ 0x1800eed80
// > ??> @ 0x1800ef100
// > ??> @ 0x1800ef488
// > ??> @ 0x1800ef808
// > ??> @ 0x1800efb88
// > ??> @ 0x1800eff28
// > ??> @ 0x1800f02c8
// > ??> @ 0x1800f0668
// > ??> @ 0x1800f0a08
// > ??> @ 0x1800f0da8
// > ??> @ 0x1800f1148
// > ??> @ 0x1800f14e8
// > ??> @ 0x1800f1888
// > ??> @ 0x1800f1c18
// > ??> @ 0x1800f1fa0
// > ??> @ 0x1800f2328
// > ??> @ 0x1800f26b0
// > ??> @ 0x1800f2a38
// > ??> @ 0x1800f2dc0
// > ??> @ 0x1800f3148
// > ??> @ 0x1800f34d0
// > ??> @ 0x1800f3850
// > ??> @ 0x1800f3be0
// > ??> @ 0x1800f3f78
// > ??> @ 0x1800f4310
// > ??> @ 0x1800f46a8
// > ??> @ 0x1800f4a40
// > ??> @ 0x1800f4dd8
// > ??> @ 0x1800f5188
// > ??> @ 0x1800f5510
// > ??> @ 0x1800f58a0
// > ??> @ 0x1800f5c30
// > ??> @ 0x1800f5fc0
// > ??> @ 0x1800f6350
// > ??> @ 0x1800f66e0
// > ??> @ 0x1800f6a70
// > ??> @ 0x1800f6e08
// > ??> @ 0x1800f7370
// > ??> @ 0x1800f7798
// > ??> @ 0x1800f7be0
// > ??> @ 0x1800f8028
// > ??> @ 0x1800f8470
// > ??> @ 0x1800f88d0
// > ??> @ 0x1800f8d30
// > ??> @ 0x1800f9180
// > ??> @ 0x1800f9548
// > ??> @ 0x1800f9960
// > ??> @ 0x1800f9d70
// > ??> @ 0x1800fa1a0
// > ??> @ 0x1800fa810
// > ??> @ 0x1800fae80
// > ??> @ 0x1800fb4f0
// > ??> @ 0x1800fbb60
// > ??> @ 0x1800fc1d0
// > ??> @ 0x1800fc840
// > ??> @ 0x1800fceb0
// > ??> @ 0x1800fd520
// > ??> @ 0x1800fdb90
// > ??> @ 0x1800fe200
// > ??> @ 0x1800fe870
// > ??> @ 0x1800ff0b8
// > ??> @ 0x1800ffb58
// > ??> @ 0x180103d90
// > ??> @ 0x1801052c8
// > ??> @ 0x1801056a0
// > ??> @ 0x180105af8
// > ??> @ 0x180105f60
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad588
//
// 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::CCNode::setAnchorPoint(cocos2d::CCNode *this, cocos2d::CCSize *a2)
{
__int64 v4; // rax
char v5; // [rsp+30h] [rbp+8h] BYREF
if ( !cocos2d::CCSize::equals(a2, (const struct cocos2d::CCSize *)&this->m_obAnchorPoint) )
{
cocos2d::CCSize::operator=(&this->m_obAnchorPoint, a2);
v4 = kmVec2Fill(&v5);
cocos2d::CCSize::operator=(&this->m_obAnchorPointInPoints, v4);
this->m_bInverseDirty = 1;
this->m_bTransformDirty = 1;
}
}