//
// tinyxml2::XMLElement::QueryIntText from 0xb2612c to 0xb261ac (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x55c20
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall tinyxml2::XMLElement::QueryIntText(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
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::ToInt(Str, a2, v10) )
return 0;
else
return 18;
}