//
// GJEffectManager::updateOpacityEffects from 0x5c4a1a to 0x5c4a62 (72 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x5c4a7c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:52 +0000
//
int __fastcall GJEffectManager::updateOpacityEffects(int this, float a2)
{
_DWORD *v2; // r5
int v4; // r4
v2 = (_DWORD *)(this + 308);
v4 = *(_DWORD *)(this + 316);
while ( v4 )
{
this = OpacityEffectAction::step(v4 + 12, a2);
if ( *(_BYTE *)(v4 + 24) && *(float *)(v4 + 36) >= 1.0 )
{
this = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::erase(
v2,
(_DWORD *)v4);
v4 = this;
}
else
{
v4 = *(_DWORD *)v4;
}
}
return this;
}