//
// cocos2d::CCNode::setContentSize from 0x180004ce0 to 0x180004d59 (121 bytes)
//
// 86 xrefs:
// > cocos2d::CCLayerColor::setContentSize @ 0x1800529b2
// > ??> @ 0x1800eb548
// > ??> @ 0x1800ebbb8
// > ??> @ 0x1800ebf38
// > ??> @ 0x1800ec890
// > ??> @ 0x1800ecda0
// > ??> @ 0x1800f15b8
// > ??> @ 0x1800f1aa8
// > ??> @ 0x1800f1f90
// > ??> @ 0x1800f24c8
// > ??> @ 0x1800f2b40
// > ??> @ 0x1800f3178
// > ??> @ 0x1800f3658
// > ??> @ 0x1800f4730
// > ??> @ 0x1800f4c10
// > ??> @ 0x1800f4fa8
// > ??> @ 0x1800f5338
// > ??> @ 0x1800f56d0
// > ??> @ 0x1800f5a60
// > ??> @ 0x1800f5df0
// > ??> @ 0x1800f61a0
// > ??> @ 0x1800f6550
// > ??> @ 0x1800f6900
// > ??> @ 0x1800f6cb0
// > ??> @ 0x1800f7060
// > ??> @ 0x1800f7410
// > ??> @ 0x1800f77c0
// > ??> @ 0x1800f7b70
// > ??> @ 0x1800f7f10
// > ??> @ 0x1800f82a8
// > ??> @ 0x1800f8640
// > ??> @ 0x1800f89d8
// > ??> @ 0x1800f8d70
// > ??> @ 0x1800f9108
// > ??> @ 0x1800f94a0
// > ??> @ 0x1800f9838
// > ??> @ 0x1800f9bc8
// > ??> @ 0x1800f9f68
// > ??> @ 0x1800fa310
// > ??> @ 0x1800fa6b8
// > ??> @ 0x1800faa60
// > ??> @ 0x1800fae08
// > ??> @ 0x1800fb1b0
// > ??> @ 0x1800fb570
// > ??> @ 0x1800fb908
// > ??> @ 0x1800fbca8
// > ??> @ 0x1800fc048
// > ??> @ 0x1800fc3e8
// > ??> @ 0x1800fc788
// > ??> @ 0x1800fcb28
// > ??> @ 0x1800fcec8
// > ??> @ 0x1800fd268
// > ??> @ 0x1800fd800
// > ??> @ 0x1800fdc38
// > ??> @ 0x1800fe090
// > ??> @ 0x1800fe4e8
// > ??> @ 0x1800fe940
// > ??> @ 0x1800fedb0
// > ??> @ 0x1800ff220
// > ??> @ 0x1800ff680
// > ??> @ 0x1800ffa50
// > ??> @ 0x1800ffe80
// > ??> @ 0x1801002a0
// > ??> @ 0x1801006e0
// > ??> @ 0x180100d68
// > ??> @ 0x1801013e8
// > ??> @ 0x180101a68
// > ??> @ 0x1801020e8
// > ??> @ 0x180102768
// > ??> @ 0x180102de8
// > ??> @ 0x180103468
// > ??> @ 0x180103ae8
// > ??> @ 0x180104168
// > ??> @ 0x1801047e8
// > ??> @ 0x180104e68
// > ??> @ 0x180105538
// > ??> @ 0x1801061c0
// > ??> @ 0x180109f80
// > ??> @ 0x18010a480
// > ??> @ 0x18010b9c8
// > ??> @ 0x18010bda8
// > ??> @ 0x18010c210
// > ??> @ 0x18010c670
// > ??> @ 0x18010cf98
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b75dc
//
// 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::setContentSize(cocos2d::CCNode *this, const struct cocos2d::CCSize *a2)
{
__int64 v4; // rax
char v5; // [rsp+30h] [rbp+8h] BYREF
if ( !cocos2d::CCSize::equals(a2, (cocos2d::CCNode *)((char *)this + 108)) )
{
cocos2d::CCSize::operator=((char *)this + 108, a2);
v4 = kmVec2Fill(&v5);
cocos2d::CCSize::operator=((char *)this + 92, v4);
*((_BYTE *)this + 284) = 1;
*((_BYTE *)this + 273) = 1;
}
}