// // std::__ndk1::stoll from 0x97bde4 to 0x97bf50 (364 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:06:03 +0000 // int __fastcall std::stoll(int a1, _DWORD *a2, int a3) { char *v6; // r5 int v7; // kr00_4 unsigned int *v8; // r0 _DWORD *exception; // r5 _DWORD *v11; // r5 int v12[2]; // [sp+0h] [bp-3Ch] BYREF void *v13; // [sp+8h] [bp-34h] unsigned int v14; // [sp+Ch] [bp-30h] char *v15; // [sp+10h] [bp-2Ch] BYREF unsigned int v16[2]; // [sp+14h] [bp-28h] BYREF unsigned int v17[2]; // [sp+20h] [bp-1Ch] BYREF v13 = nullptr; v12[0] = 0; v12[1] = 0; std::string::__init(v12, "stoll", 5u); v15 = nullptr; v6 = *(char **)(a1 + 8); if ( (*(_BYTE *)a1 & 1) == 0 ) v6 = (char *)(a1 + 1); v14 = *(_DWORD *)_errno(); *(_DWORD *)_errno() = 0; v7 = strtoll(v6, &v15, a3); v8 = (unsigned int *)_errno(); v17[0] = *v8; *v8 = v14; v14 = v17[0]; if ( v17[0] == 34 ) { std::operator+(v17, (unsigned __int8 *)v12, ": out of range"); exception = _cxa_allocate_exception(8u); std::logic_error::logic_error(exception, (int)v17); *exception = &off_D1548C; _cxa_throw( exception, (struct type_info *)&`typeinfo for'std::out_of_range, (void (*)(void *))std::length_error::~length_error); } if ( v15 == v6 ) { std::operator+(v16, (unsigned __int8 *)v12, ": no conversion"); v11 = _cxa_allocate_exception(8u); std::logic_error::logic_error(v11, (int)v16); *v11 = &off_D1544C; _cxa_throw( v11, (struct type_info *)&`typeinfo for'std::invalid_argument, (void (*)(void *))std::length_error::~length_error); } if ( a2 ) *a2 = v15 - v6; if ( (v12[0] & 1) != 0 ) operator delete(v13); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source