//
// sub_1006440D0 from 0x1006440d0 to 0x100644191 (193 bytes)
//
// 1 xrefs:
// > sub_1006441D0 @ 0x1006441d5
//
// 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
//
__int64 __fastcall sub_1006440D0(__int64 a1)
{
__int64 i; // r15
__int64 v3; // r14
__int64 v4; // r13
__int64 v5; // rdi
__int64 result; // rax
for ( i = 0; i != 64; ++i )
{
v3 = *(_QWORD *)(a1 + 8 * i);
if ( v3 )
{
LABEL_4:
v4 = *(_QWORD *)(v3 + 8);
switch ( *(_DWORD *)v3 )
{
case 1:
v5 = *(_QWORD *)(v3 + 40);
if ( v5 != v3 + 24 )
goto LABEL_8;
goto LABEL_9;
case 2:
case 4:
goto LABEL_9;
case 3:
v5 = *(_QWORD *)(v3 + 16);
if ( v5 )
LABEL_8:
off_10099E668(v5);
LABEL_9:
result = off_10099E668(v3);
v3 = v4;
if ( !v4 )
continue;
goto LABEL_4;
default:
__assert_rtn("delete_xpath_variable", "pugixml.cpp", 7168, "!\"Invalid variable type\"");
}
}
}
return result;
}