//
// fmt::SystemError::init from 0x60f11c to 0x60f1ba (158 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall fmt::SystemError::init(int a1, int a2, _BYTE *a3, int a4, _DWORD *a5)
{
char *v7; // [sp+8h] [bp-214h] BYREF
char *v8; // [sp+Ch] [bp-210h] BYREF
size_t v9; // [sp+10h] [bp-20Ch] BYREF
unsigned int v10[2]; // [sp+14h] [bp-208h] BYREF
char *v11; // [sp+1Ch] [bp-200h]
char v12; // [sp+20h] [bp-1FCh] BYREF
*(_DWORD *)(a1 + 8) = a2;
v10[0] = 0;
v10[1] = 500;
v11 = &v12;
fmt::format((int)&v7, a3, a4, a5);
v8 = v7;
v9 = *((_DWORD *)v7 - 3);
fmt::internal::FormatSystemErrorMessage(v10, a2, v7, v9);
sub_774008(&v7);
sub_7762B0(&v7, v11, v10[0], &v8);
sub_760EAC(&v8, &v7);
sub_775D40(a1 + 4, &v9);
sub_7605F0((std::exception *)&v8);
sub_774008(&v7);
fmt::internal::Array::free((int)v10);
}