//
// ColorAction::updateCustomColor from 0x9f92c0 to 0x9f9318 (88 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateColors @ 0x9f9b34
// > ??> @ 0xd6030
//
// 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:15 +0000
//
__int64 __fastcall ColorAction::updateCustomColor(__int64 result, int a2, int a3)
{
int v3; // w1
v3 = *(_DWORD *)(result + 88);
if ( v3 == 1 )
{
*(_WORD *)(result + 72) = a2;
*(_BYTE *)(result + 74) = BYTE2(a2);
}
else if ( v3 == 2 )
{
*(_WORD *)(result + 72) = a3;
*(_BYTE *)(result + 74) = BYTE2(a3);
}
return result;
}