//
// pugi::xml_node::previous_sibling from 0xdc5538 to 0xdc55dc (164 bytes)
//
// 3 xrefs:
// > pugi::xml_named_node_iterator::operator-- @ 0xdcbb60
// > pugi::xml_named_node_iterator::operator-- @ 0xdcbba4
// > ??> @ 0x6a9d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:50 +0000
//
__int64 __fastcall pugi::xml_node::previous_sibling(pugi::xml_node *this, const char *a2)
{
__int64 v3; // x0
_QWORD *v4; // x19
const char *v5; // x1
__int64 v7; // [xsp+30h] [xbp+30h] BYREF
v3 = *(_QWORD *)this;
if ( v3 && (v4 = *(_QWORD **)(v3 + 40), v4[6]) )
{
while ( 1 )
{
v5 = (const char *)v4[2];
if ( v5 )
{
if ( !strcmp(a2, v5) )
break;
}
v4 = (_QWORD *)v4[5];
if ( !v4[6] )
goto LABEL_9;
}
pugi::xml_node::xml_node(&v7, (__int64)v4);
return v7;
}
else
{
LABEL_9:
pugi::xml_node::xml_node(&v7);
return v7;
}
}