// // pugi::xml_attribute::as_int from 0xdc4a70 to 0xdc4b08 (152 bytes) // // 2 xrefs: // > DS_Dictionary::checkCompatibility @ 0xdb5f28 // > @ 0x5fc68 // // 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:49 +0000 // __int64 __fastcall pugi::xml_attribute::as_int(pugi::xml_attribute *this, unsigned int a2) { __int64 v2; // x0 const char *v3; // x0 int v4; // w2 const char *v5; // x1 int v6; // t1 bool v7; // zf int v8; // w2 v2 = *(_QWORD *)this; if ( !v2 ) return a2; v3 = *(const char **)(v2 + 16); if ( !v3 ) return a2; v4 = *(unsigned __int8 *)v3; if ( (byte_11AECC0[*(unsigned __int8 *)v3] & 8) != 0 ) { v5 = v3; do { v6 = *(unsigned __int8 *)++v5; v4 = v6; } while ( (byte_11AECC0[v6] & 8) != 0 ); } else { v5 = v3; } v7 = v4 == 45; v8 = 10; if ( v7 ) ++v5; if ( *v5 == 48 ) { if ( (v5[1] & 0xDF) == 0x58 ) v8 = 16; else v8 = 10; } return strtol(v3, nullptr, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source