//
// pugi::xpath_node::parent from 0x816158 to 0x816170 (24 bytes)
//
// 23 xrefs:
// > sub_816170 @ 0x8161d8
// > sub_816170 @ 0x8161e0
// > sub_816170 @ 0x816224
// > sub_816170 @ 0x81623e
// > sub_816170 @ 0x81625e
// > sub_816170 @ 0x816278
// > sub_816170 @ 0x816298
// > sub_816440 @ 0x816470
// > sub_816CF0 @ 0x816e96
// > sub_816CF0 @ 0x816f16
// > sub_816CF0 @ 0x816ff4
// > sub_816CF0 @ 0x817026
// > sub_816CF0 @ 0x81734a
// > sub_816CF0 @ 0x8173a8
// > sub_816CF0 @ 0x81743a
// > sub_816CF0 @ 0x81748a
// > sub_816CF0 @ 0x8175fa
// > sub_816CF0 @ 0x81766e
// > sub_816CF0 @ 0x8176e6
// > sub_816CF0 @ 0x817728
// > sub_816CF0 @ 0x817884
// > sub_816CF0 @ 0x8178ba
// > sub_816CF0 @ 0x81791a
//
// 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:42 +0000
//
int __fastcall pugi::xpath_node::parent(void (**this)())
{
int v2; // r1
if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(this + 1) )
return (int)*this;
else
return pugi::xml_node::parent((pugi::xml_node *)this, v2);
}