//
// GJEffectManager::updateOpacityEffects from 0xa02da8 to 0xa02e70 (200 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateEffects @ 0xa02eac
// > ??> @ 0x752c8
//
// 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:20 +0000
//
__int64 __fastcall GJEffectManager::updateOpacityEffects(GJEffectManager *this, float a2)
{
__int64 v3; // x19
__int64 *v4; // x21
__int64 *v5; // x1
void *v6; // x0
void *v8; // [xsp+50h] [xbp+50h] BYREF
v3 = *((_QWORD *)this + 53);
if ( v3 )
{
v4 = (__int64 *)((char *)this + 408);
do
{
while ( 1 )
{
OpacityEffectAction::step((OpacityEffectAction *)(v3 + 20), a2);
if ( *(_BYTE *)(v3 + 32) )
{
if ( *(float *)(v3 + 44) >= 1.0 )
break;
}
v3 = *(_QWORD *)v3;
if ( !v3 )
return _stack_chk_guard;
}
v5 = (__int64 *)v3;
v3 = *(_QWORD *)v3;
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::remove(
v4,
v5,
(__int64)&v8);
v6 = v8;
v8 = nullptr;
if ( v6 )
operator delete(v6);
}
while ( v3 );
}
return _stack_chk_guard;
}