// // std::__ndk1::__num_get_unsigned_integral from 0xf79238 to 0xf79388 (336 bytes) // // 3 xrefs: // > std::__ndk1::num_get>>::__do_get_unsigned @ 0xf51d98 // > std::__ndk1::num_get>>::__do_get_unsigned @ 0xf54dc4 // > @ 0xa4068 // // 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:13:44 +0000 // unsigned __int64 __fastcall std::__num_get_unsigned_integral( const char *a1, char *a2, _DWORD *a3, int a4) { int *v8; // x23 unsigned __int8 v9; // w8 unsigned __int64 result; // x0 int v11; // [xsp+4h] [xbp-4Ch] char *v12; // [xsp+8h] [xbp-48h] BYREF int v13; // [xsp+14h] [xbp-3Ch] __int64 v14; // [xsp+18h] [xbp-38h] v14 = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40); if ( a1 == a2 || *a1 == 45 ) goto LABEL_9; v8 = (int *)__errno(); v13 = *v8; *v8 = 0; v9 = atomic_load((unsigned __int8 *)&byte_1564978); if ( (v9 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_1564978) ) { qword_1564970 = newlocale(); _cxa_guard_release((__guard *)&byte_1564978); } result = strtoull_l(a1, &v12, a4, (locale_t)qword_1564970); v11 = *v8; if ( !*v8 ) *v8 = v13; if ( v12 != a2 ) { LABEL_9: result = 0; *a3 = 4; } else if ( v11 == 34 ) { *a3 = 4; result = -1; } _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source