//
// GJEffectManager::updateOpacityEffects from 0x10000fea4 to 0x10000ff1c (120 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x10000fc38
//
// 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::updateOpacityEffects(GJEffectManager *a1, float a2)
{
std::__hash_node_base, void *> *>::__next_pointer i; // x20
for ( i = a1->m_opacityEffectMap.__table_.__p1_.__value_.__next_;
i;
i = (std::__hash_node_base, void *> *>::__next_pointer)sub_100018AE0(&a1->m_opacityEffectMap, i) )
{
while ( 1 )
{
OpacityEffectAction::step((OpacityEffectAction *)((char *)&i[2].__next_ + 4), a2);
if ( LOBYTE(i[4].__next_) == 1 && *((float *)&i[5].__next_ + 1) >= 1.0 )
break;
i = i->__next_;
if ( !i )
return;
}
}
}