//
// tinyxml2::XMLPrinter::VisitEnter from 0xd99690 to 0xd996f8 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x98c50
// > ??> @ 0x152f750
//
// 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:23 +0000
//
__int64 __fastcall tinyxml2::XMLPrinter::VisitEnter(
tinyxml2::XMLPrinter *this,
const tinyxml2::XMLElement *a2,
const tinyxml2::XMLAttribute *a3,
int *a4)
{
const tinyxml2::XMLAttribute *v5; // x19
const char *Str; // x0
__int64 v7; // x1
__int64 v8; // x2
int *v9; // x3
__int64 v10; // x1
__int64 v11; // x2
int *v12; // x3
const char *v13; // x0
char *v15; // [xsp+28h] [xbp+28h]
v5 = a3;
Str = (const char *)tinyxml2::StrPair::GetStr(
(const tinyxml2::XMLElement *)((char *)a2 + 24),
(__int64)a2,
(__int64)a3,
a4);
tinyxml2::XMLPrinter::OpenElement(this, Str);
for ( ; v5; v5 = *((const tinyxml2::XMLAttribute **)v5 + 7) )
{
v15 = (char *)tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 8), v7, v8, v9);
v13 = (const char *)tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 32), v10, v11, v12);
tinyxml2::XMLPrinter::PushAttribute(this, v15, v13);
}
return 1;
}