//
// std::__ndk1::system_error::system_error from 0x97e5ec to 0x97e698 (172 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_categoryERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE'
_DWORD *__fastcall std::system_error::system_error(_DWORD *a1, int a2, int a3, int a4)
{
int v8[3]; // [sp+4h] [bp-30h] BYREF
_DWORD v9[2]; // [sp+10h] [bp-24h] BYREF
void *v10[3]; // [sp+18h] [bp-1Ch] BYREF
v9[0] = a2;
v9[1] = a3;
std::string::basic_string(v8, a4);
std::system_error::__init(v10, (int)v9, v8);
std::runtime_error::runtime_error(a1, (int)v10);
if ( ((int)v10[0] & 1) != 0 )
operator delete(v10[2]);
if ( (v8[0] & 1) != 0 )
operator delete((void *)v8[2]);
*a1 = &off_D14C6C;
a1[2] = a2;
a1[3] = a3;
return a1;
}