//
// fmt::format from 0x60d53c to 0x60d5a6 (106 bytes)
//
// 5 xrefs:
// > fmt::BasicFormatter::CheckSign @ 0x60d5f4
// > fmt::BasicFormatter::CheckSign @ 0x60d62c
// > fmt::BasicFormatter::CheckSign @ 0x60d6a2
// > fmt::BasicFormatter::CheckSign @ 0x60d6d8
// > fmt::SystemError::init @ 0x60f156
//
// 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
//
int __fastcall fmt::format(int a1, _BYTE *a2, int a3, _DWORD *a4)
{
_DWORD *v6[6]; // [sp+14h] [bp-220h] BYREF
_DWORD v7[2]; // [sp+2Ch] [bp-208h] BYREF
char *v8; // [sp+34h] [bp-200h]
char v9; // [sp+38h] [bp-1FCh] BYREF
v6[0] = v7;
v7[0] = 0;
v6[2] = nullptr;
v7[1] = 500;
v8 = &v9;
fmt::BasicFormatter::Format(v6, a2, a3, a4);
sub_7762B0(a1, v8, v7[0], v6);
fmt::internal::Array::free((int)v7);
return a1;
}