//
// GJEffectManager::updateColorAction from 0x1002d2870 to 0x1002d28ae (62 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::runColorEffect @ 0x1000c34f6
// > LevelEditorLayer::stopTriggersInGroup @ 0x1000c3825
//
// 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:13 +0000
//
__int64 __fastcall GJEffectManager::updateColorAction(__int64 a1, __int64 a2)
{
__int64 result; // rax
if ( !*(_DWORD *)(a2 + 120) )
{
result = *(_QWORD *)(a2 + 144);
*(_BYTE *)(result + 322) = *(_BYTE *)(a2 + 60);
*(_WORD *)(result + 320) = *(_WORD *)(a2 + 58);
*(float *)(result + 316) = *(float *)(a2 + 64) * 255.0;
}
return result;
}