//
// pugi::xpath_variable_set::~xpath_variable_set from 0xb638d0 to 0xb639a0 (208 bytes)
//
// 2 xrefs:
// > ??> @ 0x2cd30
// > ??> @ 0xaf968
//
// 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 '_ZN4pugi18xpath_variable_setD2Ev'
void __fastcall pugi::xpath_variable_set::~xpath_variable_set(pugi::xpath_variable_set *this)
{
__int64 i; // x23
_QWORD *v3; // x19
_QWORD *v4; // x20
void *v5; // x0
for ( i = 0; i != 64; ++i )
{
v3 = *((_QWORD **)this + i);
if ( v3 )
{
do
{
v4 = (_QWORD *)v3[1];
switch ( *(_DWORD *)v3 )
{
case 1:
pugi::xpath_node_set::~xpath_node_set((pugi::xpath_node_set *)(v3 + 2));
off_1230F80(v3);
break;
case 2:
case 4:
goto LABEL_4;
case 3:
v5 = (void *)v3[2];
if ( v5 )
off_1230F80(v5);
LABEL_4:
off_1230F80(v3);
break;
default:
break;
}
v3 = v4;
}
while ( v4 );
}
}
}