//
// GameEffectsManager::scaleParticle from 0x48e2bc to 0x48e3de (290 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 11:49:35 +0000
//
int __fastcall GameEffectsManager::scaleParticle(GameEffectsManager *this, cocos2d::CCParticleSystemQuad *a2, float a3)
{
int v5; // r0
int v6; // r3
int (__fastcall *v7)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v8; // r0
void (__fastcall *v9)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v10; // r0
void (__fastcall *v11)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v12; // r0
void (__fastcall *v13)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v14; // r0
void (__fastcall *v15)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v16; // r0
void (__fastcall *v17)(cocos2d::CCParticleSystemQuad *, _BYTE *); // r7
int v18; // r0
int result; // r0
void (__fastcall *v20)(cocos2d::CCParticleSystemQuad *, _DWORD); // r6
float v21; // r0
_BYTE v22[8]; // [sp+4h] [bp-10h] BYREF
v5 = (*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 780))(a2);
v6 = *(_DWORD *)a2;
if ( v5 == 2 )
{
v7 = *(int (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(v6 + 80);
v8 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(v6 + 84))(a2));
}
else
{
v9 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(v6 + 648);
v10 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(v6 + 644))(a2));
v9(a2, v10 * a3);
v11 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a2 + 656);
v12 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 652))(a2));
v11(a2, v12 * a3);
v13 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a2 + 664);
v14 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 660))(a2));
v13(a2, v14 * a3);
v15 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a2 + 672);
v16 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 668))(a2));
v15(a2, v16 * a3);
v17 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _BYTE *))(*(_DWORD *)a2 + 480);
v18 = (*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 476))(a2);
cocos2d::CCPoint::operator*(v22, v18, LODWORD(a3));
v17(a2, v22);
result = (*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 796))(a2);
if ( result )
return result;
v20 = *(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a2 + 532);
v21 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 528))(a2));
v20(a2, v21 * a3);
v7 = *(int (__fastcall **)(cocos2d::CCParticleSystemQuad *, _DWORD))(*(_DWORD *)a2 + 540);
v8 = COERCE_FLOAT((*(int (__fastcall **)(cocos2d::CCParticleSystemQuad *))(*(_DWORD *)a2 + 536))(a2));
}
return v7(a2, v8 * a3);
}