//
// tinyxml2::XMLElement::QueryUnsignedText from 0xd96d54 to 0xd96dd4 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x77ce0
//
// 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:22 +0000
//
__int64 __fastcall tinyxml2::XMLElement::QueryUnsignedText(tinyxml2::XMLElement *this, const char *a2)
{
__int64 v2; // x2
__int64 v5; // x0
__int64 v6; // x1
__int64 v7; // x2
int *v8; // x3
tinyxml2::XMLUtil *Str; // x0
unsigned int *v10; // x2
v2 = *((_QWORD *)this + 6);
if ( !v2 || !(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 56LL))(*((_QWORD *)this + 6)) )
return 19;
v5 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 6) + 56LL))(*((_QWORD *)this + 6));
Str = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v5 + 24), v6, v7, v8);
if ( tinyxml2::XMLUtil::ToUnsigned(Str, a2, v10) )
return 0;
else
return 18;
}