//
// sub_3154F2 from 0x3154f2 to 0x315522 (48 bytes)
//
// 2 xrefs:
// > 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>::~_Hashtable @ 0x315528
// > EffectManagerState::operator= @ 0x31d536
//
// 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 sub_3154F2(void **p)
{
void **v2; // r6
char *v3; // r5
char *v4; // r7
void **v5; // r0
void *v6; // r0
void **v7; // r0
while ( p )
{
v2 = (void **)*p;
v3 = (char *)p[2];
v4 = (char *)p[3];
while ( v3 != v4 )
{
v5 = (void **)(v3 + 36);
v3 += 48;
std::_Vector_base::~_Vector_base(v5);
}
v6 = p[2];
if ( v6 )
operator delete(v6);
v7 = p;
p = v2;
operator delete(v7);
}
}