//
// cocos2d::CCNode::applyScale from 0x7c3f38 to 0x7c3f98 (96 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:23 +0000
//
int __fastcall cocos2d::CCNode::applyScale(cocos2d::CCNode *this, float a2)
{
int v4; // r3
void (__fastcall *v5)(cocos2d::CCNode *, _DWORD); // r5
float v6; // r0
int (__fastcall *v7)(cocos2d::CCNode *, _DWORD); // r5
float v8; // r0
v4 = *(_DWORD *)this;
if ( *((float *)this + 15) == *((float *)this + 16) )
{
v7 = *(int (__fastcall **)(cocos2d::CCNode *, _DWORD))(v4 + 80);
v8 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCNode *))(v4 + 84))(this));
}
else
{
v5 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(v4 + 64);
v6 = COERCE_FLOAT((*(int (**)(void))(v4 + 68))());
v5(this, v6 * a2);
v7 = *(int (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)this + 72);
v8 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)this + 76))(this));
}
return v7(this, v8 * a2);
}