//
// pugi::xml_attribute::previous_attribute from 0xdc49e4 to 0xdc4a50 (108 bytes)
//
// 2 xrefs:
// > pugi::xml_attribute_iterator::operator-- @ 0xdcb8b8
// > ??> @ 0xf3910
//
// 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:49 +0000
//
__int64 __fastcall pugi::xml_attribute::previous_attribute(pugi::xml_attribute *this)
{
__int64 v1; // x0
__int64 v2; // x1
__int64 v4; // [xsp+20h] [xbp+20h] BYREF
v1 = *(_QWORD *)this;
if ( v1 && (v2 = *(_QWORD *)(v1 + 24), *(_QWORD *)(v2 + 32)) )
pugi::xml_attribute::xml_attribute(&v4, v2);
else
pugi::xml_attribute::xml_attribute(&v4);
return v4;
}