//
// std::vector>::~vector from 0x66b8a4 to 0x66b910 (108 bytes)
//
// 4 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>::_M_insert_unique_node @ 0x6701ac
// > drawTrace @ 0x6768d0
// > ??> @ 0x31ed8
// > ??> @ 0xbc058
//
// 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 '_ZNSt6vectorI9GridGroupSaIS0_EED2Ev'
void __fastcall std::vector::~vector(void ***a1)
{
void **v1; // x19
void **v2; // x20
void *v4; // x1
v1 = *a1;
v2 = a1[1];
if ( *a1 != v2 )
{
do
{
v4 = *v1;
v1 += 4;
if ( v4 )
operator delete(v4);
}
while ( v2 != v1 );
v2 = *a1;
}
if ( v2 )
operator delete(v2);
}