//
// pugi::xml_attribute::as_llong from 0x811ce0 to 0x811d08 (40 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:38 +0000
//
int __fastcall pugi::xml_attribute::as_llong(pugi::xml_attribute *this, __int64 a2)
{
int v3; // r3
const char *v4; // r4
int v5; // r2
v3 = *(_DWORD *)this;
if ( !*(_DWORD *)this )
return a2;
v4 = *(const char **)(v3 + 8);
if ( !v4 )
return a2;
v5 = sub_80F6CC(*(unsigned __int8 **)(v3 + 8));
return j_strtoll(v4, nullptr, v5);
}