//
// fmt::WindowsError::WindowsError from 0x1800172d0 to 0x18001735f (143 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8728
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:25 +0000
//
__int64 __fastcall fmt::WindowsError::WindowsError(__int64 a1, unsigned int a2, __int128 *a3)
{
const CHAR *v7; // [rsp+20h] [rbp-28h] BYREF
__int64 v8; // [rsp+28h] [rbp-20h]
__int128 v9; // [rsp+30h] [rbp-18h] BYREF
*(_QWORD *)a1 = &std::exception::`vftable';
*(_OWORD *)(a1 + 8) = 0;
v7 = Text;
LOBYTE(v8) = 1;
_std_exception_copy(&v7);
*(_QWORD *)a1 = &fmt::WindowsError::`vftable';
v9 = *a3;
v8 = 0;
fmt::WindowsError::init(a1, a2, &v9, &v7);
return a1;
}