// // std::__ndk1::__num_get_signed_integral from 0xf78e3c to 0xf78f88 (332 bytes) // // 3 xrefs: // > std::__ndk1::num_get>>::__do_get_signed @ 0xf512b8 // > std::__ndk1::num_get>>::__do_get_signed @ 0xf542d8 // > @ 0x74440 // // 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 // __int64 __fastcall std::__num_get_signed_integral(char *a1, char *a2, _DWORD *a3) { int *v5; // x22 unsigned __int8 v6; // w8 __int64 result; // x0 int v8; // [xsp+4h] [xbp-4Ch] char *endptr; // [xsp+8h] [xbp-48h] int v10; // [xsp+14h] [xbp-3Ch] _ReadStatusReg(TPIDR_EL0); if ( a1 == a2 ) goto LABEL_8; v5 = (int *)__errno(); v10 = *v5; *v5 = 0; v6 = atomic_load((unsigned __int8 *)&byte_1564978); if ( (v6 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_1564978) ) { qword_1564970 = newlocale(); _cxa_guard_release((__guard *)&byte_1564978); } result = strtoll_l(); v8 = *v5; if ( !*v5 ) *v5 = v10; if ( endptr == a2 ) { if ( v8 == 34 ) { *a3 = 4; if ( result > 0 ) result = 0x7FFFFFFFFFFFFFFFLL; else result = 0x8000000000000000LL; } } else { LABEL_8: result = 0; *a3 = 4; } _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source