//
// tinyxml2::XMLPrinter::PushText from 0x18009f760 to 0x18009f7ea (138 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c13ec
//
// This function is hookable on this platform (idp: pc, 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 11:22:13 +0000
//
void __fastcall tinyxml2::XMLPrinter::PushText(tinyxml2::XMLPrinter *this, float a2)
{
bool v3; // zf
char Buffer[208]; // [rsp+20h] [rbp-E8h] BYREF
sub_1800A0C60(Buffer, 0xC8u, "%g");
v3 = *((_BYTE *)this + 8) == 0;
*((_DWORD *)this + 7) = *((_DWORD *)this + 6) - 1;
if ( !v3 )
{
*((_BYTE *)this + 8) = 0;
tinyxml2::XMLPrinter::Print(this, ">");
}
tinyxml2::XMLPrinter::PrintString(this, Buffer, 1u);
}