// // std::__ndk1::system_error::__init from 0x97e2c0 to 0x97e36c (172 bytes) // // 6 xrefs: // > std::__ndk1::system_error::system_error @ 0x97e39e // > std::__ndk1::system_error::system_error @ 0x97e494 // > std::__ndk1::system_error::system_error @ 0x97e558 // > std::__ndk1::system_error::system_error @ 0x97e618 // > std::__ndk1::system_error::system_error @ 0x97e6e2 // > std::__ndk1::system_error::system_error @ 0x97e7a8 // // 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:05 +0000 // int __fastcall std::system_error::__init(_DWORD *a1, int a2, _DWORD *a3) { unsigned int v6; // r0 unsigned int v7; // r0 _BYTE *v8; // r1 size_t v9; // r2 int v10; // r2 int v11; // r3 unsigned __int8 v13; // [sp+4h] [bp-1Ch] BYREF _BYTE v14[7]; // [sp+5h] [bp-1Bh] BYREF void *v15; // [sp+Ch] [bp-14h] int v16; // [sp+10h] [bp-10h] if ( *(_DWORD *)a2 ) { v6 = *(unsigned __int8 *)a3; if ( (v6 & 1) != 0 ) v7 = a3[1]; else v7 = v6 >> 1; if ( v7 ) std::string::append(a3, ": ", 2u); (*(void (__fastcall **)(unsigned __int8 *))(**(_DWORD **)(a2 + 4) + 24))(&v13); v9 = *(_DWORD *)&v14[3]; v8 = v15; if ( (v13 & 1) == 0 ) { v8 = v14; v9 = v13 >> 1; } std::string::append(a3, v8, v9); if ( (v13 & 1) != 0 ) operator delete(v15); } v10 = a3[1]; v11 = a3[2]; *a1 = *a3; a1[1] = v10; a1[2] = v11; *a3 = 0; a3[1] = 0; a3[2] = 0; return _stack_chk_guard - v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source