//
// GJEffectManager::updateColorAction from 0x9fa284 to 0x9fa2b4 (48 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::runColorEffect @ 0x78c73c
// > LevelEditorLayer::stopTriggersInGroup @ 0x7956a0
// > ??> @ 0xd0ab0
//
// This function is hookable on this platform (idp: arm, 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:59:16 +0000
//
float __fastcall GJEffectManager::updateColorAction(GJEffectManager *this, ColorAction *a2)
{
__int64 v2; // x0
float result; // s0
if ( !*((_DWORD *)a2 + 30) )
{
v2 = *((_QWORD *)a2 + 18);
*(_WORD *)(v2 + 320) = *((_WORD *)a2 + 29);
*(_BYTE *)(v2 + 322) = *((_BYTE *)a2 + 60);
result = *((float *)a2 + 16) * 255.0;
*(float *)(v2 + 316) = result;
}
return result;
}