//
// pugi::xpath_variable_set::~xpath_variable_set from 0x60a010 to 0x60a09e (142 bytes)
//
// 0 xrefs:
//
// 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_setD1Ev'
void __fastcall pugi::xpath_variable_set::~xpath_variable_set(pugi::xpath_variable_set *this)
{
char *v1; // r5
int i; // r11
int v3; // t1
int v4; // r0
int v5; // [sp+0h] [bp-Ch]
char *v6; // [sp+4h] [bp-8h]
v1 = (char *)this - 4;
v6 = (char *)this + 252;
do
{
v3 = *((_DWORD *)v1 + 1);
v1 += 4;
for ( i = v3; i; i = v5 )
{
v5 = *(_DWORD *)(i + 4);
switch ( *(_DWORD *)i )
{
case 1:
pugi::xpath_node_set::~xpath_node_set((pugi::xpath_node_set **)(i + 8));
off_ABAE70(i);
break;
case 2:
case 4:
goto LABEL_8;
case 3:
v4 = *(_DWORD *)(i + 8);
if ( v4 )
off_ABAE70(v4);
LABEL_8:
off_ABAE70(i);
break;
default:
continue;
}
}
}
while ( v1 != v6 );
}