//
// std::__ndk1::system_error::system_error from 0x97e770 to 0x97e828 (184 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:05 +0000
//
// Alternative name is '_ZNSt6__ndk112system_errorC1EiRKNS_14error_categoryE'
std::system_error *__fastcall std::system_error::system_error(
std::system_error *this,
int a2,
const std::error_category *a3)
{
int v7[2]; // [sp+0h] [bp-34h] BYREF
void *v8; // [sp+8h] [bp-2Ch]
_DWORD v9[2]; // [sp+10h] [bp-24h] BYREF
void *v10[3]; // [sp+18h] [bp-1Ch] BYREF
v9[0] = a2;
v9[1] = a3;
v8 = nullptr;
v7[0] = 0;
v7[1] = 0;
std::string::__init(v7, &unk_B6B226, 0);
std::system_error::__init(v10, (int)v9, v7);
std::runtime_error::runtime_error(this, (int)v10);
if ( ((int)v10[0] & 1) != 0 )
operator delete(v10[2]);
if ( (v7[0] & 1) != 0 )
operator delete(v8);
*(_DWORD *)this = &off_D14C6C;
*((_DWORD *)this + 2) = a2;
*((_DWORD *)this + 3) = a3;
return this;
}