//
// std::__ndk1::system_error::system_error from 0x97e524 to 0x97e5dc (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_errorC1ENS_10error_codeE'
int __fastcall std::system_error::system_error(int a1, unsigned int a2, unsigned int a3)
{
int v5[2]; // [sp+0h] [bp-30h] BYREF
void *v6; // [sp+8h] [bp-28h]
void *v7[3]; // [sp+Ch] [bp-24h] BYREF
unsigned __int64 v8; // [sp+18h] [bp-18h] BYREF
v8 = __PAIR64__(a3, a2);
v6 = nullptr;
v5[0] = 0;
v5[1] = 0;
std::string::__init(v5, &unk_B6B226, 0);
std::system_error::__init(v7, (int)&v8, v5);
std::runtime_error::runtime_error((_DWORD *)a1, (int)v7);
if ( ((int)v7[0] & 1) != 0 )
operator delete(v7[2]);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
*(_DWORD *)a1 = &off_D14C6C;
*(_QWORD *)(a1 + 8) = v8;
return a1;
}