//
// std::vector>::~vector from 0x31549c to 0x3154f2 (86 bytes)
//
// 3 xrefs:
// > EffectManagerState::~EffectManagerState @ 0x315f12
// > EffectManagerState::EffectManagerState @ 0x31623c
// > EffectManagerState::operator= @ 0x31d924
//
// 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 '_ZNSt6vectorI19GroupCommandObject2SaIS0_EED1Ev'
void ***__fastcall std::vector::~vector(void ***a1)
{
void **v2; // r4
void **v3; // r7
void **v4; // r5
void **v5; // r8
void *v6; // r0
v2 = *a1;
v3 = a1[1];
while ( v2 != v3 )
{
std::_Vector_base::~_Vector_base(v2 + 116);
v4 = (void **)v2[109];
v5 = (void **)v2[110];
while ( v4 != v5 )
{
tk::spline::~spline(v4 + 36);
tk::spline::~spline(v4 + 8);
v4 += 84;
}
v6 = v2[109];
if ( v6 )
operator delete(v6);
v2 += 122;
}
if ( *a1 )
operator delete(*a1);
return a1;
}