//
// pugi::xml_attribute_iterator::operator-- from 0x813eba to 0x813ed4 (26 bytes)
//
// 1 xrefs:
// > pugi::xml_attribute_iterator::operator-- @ 0x813ee2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:40 +0000
//
int __fastcall pugi::xml_attribute_iterator::operator--(int a1, int a2)
{
int attribute; // r0
if ( *(_DWORD *)a1 )
attribute = pugi::xml_attribute::previous_attribute((pugi::xml_attribute *)a1, a2);
else
attribute = pugi::xml_node::last_attribute((pugi::xml_node *)(a1 + 4), a2);
*(_DWORD *)a1 = attribute;
return a1;
}