//
// CCSpritePlus::setScale from 0x14004c400 to 0x14004c485 (133 bytes)
//
// 6 xrefs:
// > ??> @ 0x140709ee8
// > ??> @ 0x14070a340
// > ??> @ 0x1407385e8
// > ??> @ 0x140886134
// > ??> @ 0x140886144
// > ??> @ 0x14091001c
//
// 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:25:33 +0000
//
void __fastcall CCSpritePlus::setScale(__int64 a1, float a2)
{
unsigned int i; // edi
struct cocos2d::CCObject *v4; // rax
cocos2d::CCSprite::setScale((cocos2d::CCSprite *)a1, a2);
if ( *(_BYTE *)(a1 + 616) )
{
if ( *(_BYTE *)(a1 + 617) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )
{
v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);
(*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 160LL))(v4);
}
}
}
}