//
// cocos2d::CCSprite::setScale from 0x100275700 to 0x10027577e (126 bytes)
//
// 30 xrefs:
// > CCPartAnimSprite::setScale @ 0x10035e739
// > CCSpritePlus::setScale @ 0x1004769d3
// > ??> @ 0x100ab7470
// > ??> @ 0x100abb410
// > ??> @ 0x100ae1548
// > ??> @ 0x100ae4d20
// > ??> @ 0x100af68d8
// > ??> @ 0x100af9f70
// > ??> @ 0x100b0c0c8
// > ??> @ 0x100b10f00
// > ??> @ 0x100b130f0
// > ??> @ 0x100b1af48
// > ??> @ 0x100b1c2a8
// > ??> @ 0x100b1ce60
// > ??> @ 0x100b23f90
// > ??> @ 0x100b24528
// > ??> @ 0x100b304a8
// > ??> @ 0x100b33280
// > ??> @ 0x100b3dbb8
// > ??> @ 0x100b46e40
// > ??> @ 0x100b4c190
// > ??> @ 0x100b59650
// > ??> @ 0x100b87278
// > ??> @ 0x100b87840
// > ??> @ 0x100b87e08
// > ??> @ 0x100b8d690
// > ??> @ 0x100b8dc58
// > ??> @ 0x100b99030
// > ??> @ 0x100bac138
// > ??> @ 0x100bb9740
//
// 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 12:27:39 +0000
//
void __fastcall cocos2d::CCSprite::setScale(__int64 a1, float a2)
{
if ( *(float *)(a1 + 64) != a2 || *(float *)(a1 + 68) != a2 )
{
cocos2d::CCNode::setScale_1(a1, a2);
if ( *(_QWORD *)(a1 + 368) && !*(_BYTE *)(a1 + 377) )
{
*(_BYTE *)(a1 + 377) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1200LL))(a1, 1);
if ( *(_BYTE *)(a1 + 378) == 1 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1232LL))(a1, 1);
}
}
}