//
// tinyxml2::XMLElement::QueryDoubleText from 0x7f953a to 0x7f956e (52 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:13 +0000
//
int __fastcall tinyxml2::XMLElement::QueryDoubleText(tinyxml2::XMLElement *this, double *a2)
{
int v3; // r0
int v6; // r0
tinyxml2::XMLUtil *Str; // r0
double *v8; // r2
v3 = *((_DWORD *)this + 6);
if ( !v3 || !(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 28))(v3) )
return 19;
v6 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 6) + 28))(*((_DWORD *)this + 6));
Str = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v6 + 12));
if ( tinyxml2::XMLUtil::ToDouble(Str, (const char *)a2, v8) )
return 0;
else
return 18;
}