//
// cocos2d::CCNode::setAnchorPoint from 0x180004b80 to 0x180004bf9 (121 bytes)
//
// 87 xrefs:
// > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x18004dfd6
// > cocos2d::CCLayer::CCLayer @ 0x18005090a
// > cocos2d::CCScene::CCScene @ 0x1800537ef
// > cocos2d::CCProgressTimer::initWithSprite @ 0x180060077
// > cocos2d::CCProgressTimer::setAnchorPoint @ 0x180060190
// > cocos2d::CCSprite::setAnchorPoint @ 0x18008f389
// > ??> @ 0x1800eb530
// > ??> @ 0x1800ebba0
// > ??> @ 0x1800ebf20
// > ??> @ 0x1800ec878
// > ??> @ 0x1800ecd88
// > ??> @ 0x1800f15a0
// > ??> @ 0x1800f3160
// > ??> @ 0x1800f3640
// > ??> @ 0x1800f3b98
// > ??> @ 0x1800f4120
// > ??> @ 0x1800f4718
// > ??> @ 0x1800f4bf8
// > ??> @ 0x1800f4f90
// > ??> @ 0x1800f5320
// > ??> @ 0x1800f56b8
// > ??> @ 0x1800f5a48
// > ??> @ 0x1800f5dd8
// > ??> @ 0x1800f6188
// > ??> @ 0x1800f6538
// > ??> @ 0x1800f68e8
// > ??> @ 0x1800f6c98
// > ??> @ 0x1800f7048
// > ??> @ 0x1800f73f8
// > ??> @ 0x1800f77a8
// > ??> @ 0x1800f7b58
// > ??> @ 0x1800f7ef8
// > ??> @ 0x1800f8290
// > ??> @ 0x1800f8628
// > ??> @ 0x1800f89c0
// > ??> @ 0x1800f8d58
// > ??> @ 0x1800f90f0
// > ??> @ 0x1800f9488
// > ??> @ 0x1800f9820
// > ??> @ 0x1800f9bb0
// > ??> @ 0x1800f9f50
// > ??> @ 0x1800fa2f8
// > ??> @ 0x1800fa6a0
// > ??> @ 0x1800faa48
// > ??> @ 0x1800fadf0
// > ??> @ 0x1800fb198
// > ??> @ 0x1800fb558
// > ??> @ 0x1800fb8f0
// > ??> @ 0x1800fbc90
// > ??> @ 0x1800fc030
// > ??> @ 0x1800fc3d0
// > ??> @ 0x1800fc770
// > ??> @ 0x1800fcb10
// > ??> @ 0x1800fceb0
// > ??> @ 0x1800fd250
// > ??> @ 0x1800fd7e8
// > ??> @ 0x1800fdc20
// > ??> @ 0x1800fe078
// > ??> @ 0x1800fe4d0
// > ??> @ 0x1800fe928
// > ??> @ 0x1800fed98
// > ??> @ 0x1800ff208
// > ??> @ 0x1800ff668
// > ??> @ 0x1800ffa38
// > ??> @ 0x1800ffe68
// > ??> @ 0x180100288
// > ??> @ 0x1801006c8
// > ??> @ 0x180100d50
// > ??> @ 0x1801013d0
// > ??> @ 0x180101a50
// > ??> @ 0x1801020d0
// > ??> @ 0x180102750
// > ??> @ 0x180102dd0
// > ??> @ 0x180103450
// > ??> @ 0x180103ad0
// > ??> @ 0x180104150
// > ??> @ 0x1801047d0
// > ??> @ 0x180104e50
// > ??> @ 0x180105520
// > ??> @ 0x1801061a8
// > ??> @ 0x18010a468
// > ??> @ 0x18010b9b0
// > ??> @ 0x18010bd90
// > ??> @ 0x18010c1f8
// > ??> @ 0x18010c658
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b75ac
//
// 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:21:17 +0000
//
void __fastcall cocos2d::CCNode::setAnchorPoint(cocos2d::CCNode *this, const struct cocos2d::CCPoint *a2)
{
__int64 v4; // rax
char v5; // [rsp+30h] [rbp+8h] BYREF
if ( !cocos2d::CCSize::equals(a2, (cocos2d::CCNode *)((char *)this + 100)) )
{
cocos2d::CCSize::operator=((char *)this + 100, a2);
v4 = kmVec2Fill(&v5);
cocos2d::CCSize::operator=((char *)this + 92, v4);
*((_BYTE *)this + 284) = 1;
*((_BYTE *)this + 273) = 1;
}
}