//
// std::vector>::~vector from 0x5de730 to 0x5de79c (108 bytes)
//
// 5 xrefs:
// > GJGameState::GJGameState @ 0x5df1c4
// > std::_Rb_tree,std::pair const,std::vector>>,std::_Select1st const,std::vector>>>,std::less>,std::allocator const,std::vector>>>>::_M_copy @ 0x5e06dc
// > GJBaseGameLayer::init @ 0x89441c
// > ??> @ 0x825a8
// > ??> @ 0xb3628
//
// 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 '_ZNSt6vectorI20EventTriggerInstanceSaIS0_EED1Ev'
void __fastcall std::vector::~vector(_QWORD *a1)
{
_QWORD *v1; // x19
_QWORD *v2; // x20
void *v4; // x1
v1 = (_QWORD *)*a1;
v2 = (_QWORD *)a1[1];
if ( (_QWORD *)*a1 != v2 )
{
do
{
v4 = (void *)v1[2];
v1 += 5;
if ( v4 )
operator delete(v4);
}
while ( v2 != v1 );
v2 = (_QWORD *)*a1;
}
if ( v2 )
operator delete(v2);
}