//
// GJEffectManager::updateActiveOpacityEffects from 0x1002d2de0 to 0x1002d2e7a (154 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall GJEffectManager::updateActiveOpacityEffects(__int64 a1)
{
__int64 v1; // rdx
__int64 *v2; // rbx
__int64 v3; // r15
void *v4; // rdi
void *v5; // [rsp-38h] [rbp-38h] BYREF
v1 = *(_QWORD *)(a1 + 424);
if ( v1 )
{
v2 = (__int64 *)(a1 + 408);
do
{
while ( *(_BYTE *)(v1 + 32) != 1 || *(float *)(v1 + 44) < 1.0 )
{
v1 = *(_QWORD *)v1;
if ( !v1 )
return;
}
v3 = *(_QWORD *)v1;
sub_10001AE30((__int64)&v5, v2, (__int64 *)v1);
v4 = v5;
v5 = nullptr;
if ( v4 )
operator delete(v4);
v1 = v3;
}
while ( v3 );
}
}