//
// pugi::xml_attribute::next_attribute from 0x811ba8 to 0x811bda (50 bytes)
//
// 7 xrefs:
// > sub_812344 @ 0x8123c2
// > sub_8123E4 @ 0x81243a
// > sub_812DAC @ 0x812e22
// > sub_812DAC @ 0x812ece
// > sub_816170 @ 0x81621c
// > sub_816CF0 @ 0x8170be
// > sub_816CF0 @ 0x81711c
//
// 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:38 +0000
//
int __fastcall pugi::xml_attribute::next_attribute(pugi::xml_attribute *this, int a2)
{
_DWORD v3[2]; // [sp+0h] [bp-8h] BYREF
v3[0] = this;
v3[1] = a2;
if ( *(_DWORD *)this )
pugi::xml_attribute::xml_attribute(v3, *(_DWORD *)(*(_DWORD *)this + 16));
else
pugi::xml_attribute::xml_attribute(v3);
return v3[0];
}