//
// GJEffectManager::updateActiveOpacityEffects from 0x1002e8340 to 0x1002e83da (154 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJEffectManager::updateActiveOpacityEffects(GJEffectManager *a1)
{
std::__hash_node_base, void *> *>::__next_pointer next; // rdx
__int64 *p_m_opacityEffectMap; // rbx
std::__hash_node_base, void *> *> *v3; // r15
void *v4; // rdi
void *v5; // [rsp-38h] [rbp-38h] BYREF
next = a1->m_opacityEffectMap.__table_.__p1_.__value_.__next_;
if ( next )
{
p_m_opacityEffectMap = (__int64 *)&a1->m_opacityEffectMap;
do
{
while ( LOBYTE(next[4].__next_) != 1 || *((float *)&next[5].__next_ + 1) < 1.0 )
{
next = next->__next_;
if ( !next )
return;
}
v3 = next->__next_;
sub_100056B40((__int64)&v5, p_m_opacityEffectMap, (__int64 *)next);
v4 = v5;
v5 = nullptr;
if ( v4 )
operator delete(v4);
next = v3;
}
while ( v3 );
}
}