//
// GJEffectManager::updateOpacityAction from 0x1002d2da0 to 0x1002d2dd8 (56 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::activateTriggerEffect @ 0x1000c2d9c
//
// 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:14 +0000
//
__int64 __fastcall GJEffectManager::updateOpacityAction(__int64 a1, __int64 a2)
{
__int64 result; // rax
int v3; // [rsp+Ch] [rbp-4h] BYREF
result = *(unsigned int *)(a2 + 20);
v3 = *(_DWORD *)(a2 + 20);
if ( *(_BYTE *)(a2 + 12) == 1 && *(float *)(a2 + 24) >= 1.0 )
return sub_10001C120((__int64 *)(a1 + 408), &v3);
return result;
}