//
// GJEffectManager::colorForEffect from 0x5c3302 to 0x5c3340 (62 bytes)
//
// 7 xrefs:
// > GameObject::getActiveColorForMode @ 0x44eea8
// > LevelEditorLayer::updateObjectColors @ 0x46162c
// > LevelEditorLayer::updateObjectColors @ 0x46174e
// > LevelEditorLayer::updateObjectColors @ 0x4617b6
// > LevelEditorLayer::updateVisibility @ 0x463134
// > LevelEditorLayer::updateVisibility @ 0x463256
// > LevelEditorLayer::updateVisibility @ 0x4632bc
//
// 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:53:51 +0000
//
int __fastcall GJEffectManager::colorForEffect(int a1, int a2, float a3, float a4, float a5, __int16 a6)
{
int v6; // r4
int v7; // r5
int v8; // r6
int v9; // r0
int v11; // [sp+Ch] [bp-1Ch] BYREF
int v12; // [sp+10h] [bp-18h]
int v13; // [sp+14h] [bp-14h]
int v14; // [sp+18h] [bp-10h]
float v15; // [sp+20h] [bp-8h]
float v16; // [sp+24h] [bp-4h]
v12 = v6;
v13 = v7;
v14 = v8;
v11 = a2;
v15 = a3;
v16 = a4;
v9 = GameToolbox::transformColor((unsigned __int8 *)&v11, a3, a4, a5, a6);
return (unsigned __int8)v9 | (unsigned __int16)(BYTE1(v9) << 8) | (BYTE2(v9) << 16);
}