//
// GJEffectManager::colorForEffect from 0x1002caaf0 to 0x1002cab15 (37 bytes)
//
// 8 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x1000be212
// > LevelEditorLayer::updateVisibility @ 0x1000be31e
// > LevelEditorLayer::updateVisibility @ 0x1000be469
// > LevelEditorLayer::updateObjectColors @ 0x1000be8d2
// > LevelEditorLayer::updateObjectColors @ 0x1000be9c1
// > LevelEditorLayer::updateObjectColors @ 0x1000beae2
// > GameObject::colorForMode @ 0x10069bff1
// > GameObject::getActiveColorForMode @ 0x10069c608
//
// 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 12:28:10 +0000
//
__int64 __fastcall GJEffectManager::colorForEffect(double a1, __int64 a2, int a3, __int64 a4)
{
__int16 v5; // [rsp+Ch] [rbp-4h] BYREF
char v6; // [rsp+Eh] [rbp-2h]
v5 = a3;
v6 = BYTE2(a3);
return GameToolbox::transformColor_1(&v5, a4, a1);
}