//
// GameObject::updateParticleColor from 0x44b560 to 0x44b628 (200 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:48:34 +0000
//
int __fastcall GameObject::updateParticleColor(int a1, unsigned __int8 *a2)
{
int result; // r0
void (__fastcall *v5)(int, float *); // r3
float v6; // s14
int v7; // s15
int v8; // r2
int v9; // r0
float v10; // s14
int v11; // s15
int (__fastcall *v12)(int, float *); // r3
int v13; // s13
float v14; // [sp+4h] [bp-18h] BYREF
float v15; // [sp+8h] [bp-14h]
float v16; // [sp+Ch] [bp-10h]
int v17; // [sp+10h] [bp-Ch]
result = *(_DWORD *)(a1 + 660);
if ( result )
{
v5 = *(void (__fastcall **)(int, float *))(*(_DWORD *)result + 680);
v6 = (float)a2[1];
v7 = a2[2];
v8 = *a2;
v17 = 1065353216;
v15 = v6 / 255.0;
v16 = (float)v7 / 255.0;
v14 = (float)v8 / 255.0;
v5(result, &v14);
v9 = *(_DWORD *)(a1 + 660);
v10 = (float)a2[1];
v11 = a2[2];
v12 = *(int (__fastcall **)(int, float *))(*(_DWORD *)v9 + 696);
v13 = *a2;
v17 = 0;
v15 = v10 / 255.0;
v16 = (float)v11 / 255.0;
v14 = (float)v13 / 255.0;
return v12(v9, &v14);
}
return result;
}