//
// std::vector>::~vector from 0x31540c to 0x315430 (36 bytes)
//
// 3 xrefs:
// > EffectManagerState::~EffectManagerState @ 0x315f42
// > EffectManagerState::EffectManagerState @ 0x31626e
// > EffectManagerState::operator= @ 0x31d6c4
//
// 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
//
// Alternative name is '_ZNSt6vectorI17TouchToggleActionSaIS0_EED1Ev'
void **__fastcall std::vector::~vector(void **a1)
{
char *v2; // r5
char *v3; // r6
void **v4; // r0
v2 = (char *)*a1;
v3 = (char *)a1[1];
while ( v2 != v3 )
{
v4 = (void **)(v2 + 32);
v2 += 44;
std::_Vector_base::~_Vector_base(v4);
}
if ( *a1 )
operator delete(*a1);
return a1;
}