//
// GJEffectManager::updateOpacityEffects from 0x49e624 to 0x49e66c (72 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateEffects @ 0x49e686
//
// 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 GJEffectManager::updateOpacityEffects(GJEffectManager *a1, float a2)
{
int *p_m_opacityEffectMap; // r5
std::__detail::_Hash_node_base *M_nxt; // r4
p_m_opacityEffectMap = (int *)&a1->m_opacityEffectMap;
M_nxt = a1->m_opacityEffectMap._M_h._M_before_begin._M_nxt;
while ( M_nxt )
{
OpacityEffectAction::step((OpacityEffectAction *)&M_nxt[2], a2);
if ( LOBYTE(M_nxt[5]._M_nxt) && *(float *)&M_nxt[8]._M_nxt >= 1.0 )
M_nxt = (std::__detail::_Hash_node_base *)std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::erase(
p_m_opacityEffectMap,
(int *)M_nxt);
else
M_nxt = M_nxt->_M_nxt;
}
}