//
// pugi::xml_document::reset from 0x815158 to 0x8151a2 (74 bytes)
//
// 0 xrefs:
//
// 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:41 +0000
//
void (*__fastcall pugi::xml_document::reset(pugi::xml_document *this, const pugi::xml_document *a2))()
{
int v4; // r1
void (*result)(); // r0
int v6; // r1
void (*v7[2])(); // [sp+0h] [bp-8h] BYREF
v7[1] = (void (*)())a2;
pugi::xml_document::reset(this);
for ( v7[0] = (void (*)())pugi::xml_node::first_child(a2, v4);
;
v7[0] = (void (*)())pugi::xml_node::next_sibling((pugi::xml_node *)v7, v6) )
{
result = pugi::xml_node::operator void (*)(pugi::xml_node***)(v7);
if ( !result )
break;
pugi::xml_node::append_copy(this, (const pugi::xml_node *)v7);
}
return result;
}