//
// fmt::format from 0x81d784 to 0x81d7ea (102 bytes)
//
// 4 xrefs:
// > fmt::BasicFormatter::CheckSign @ 0x81d838
// > fmt::BasicFormatter::CheckSign @ 0x81d870
// > fmt::BasicFormatter::CheckSign @ 0x81d8e6
// > fmt::BasicFormatter::CheckSign @ 0x81d91c
//
// 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:01:47 +0000
//
int *__fastcall fmt::format(int *a1, char *a2, int a3, _DWORD *a4)
{
size_t v5; // r2
char *v6; // r1
_DWORD *v8[6]; // [sp+14h] [bp-220h] BYREF
_DWORD v9[2]; // [sp+2Ch] [bp-208h] BYREF
char *v10; // [sp+34h] [bp-200h]
char v11; // [sp+38h] [bp-1FCh] BYREF
v9[0] = 0;
v9[1] = 500;
v10 = &v11;
v8[2] = nullptr;
v8[0] = v9;
fmt::BasicFormatter::Format(v8, a2, a3, a4);
v5 = v9[0];
v6 = v10;
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, v6, v5);
fmt::internal::Array::free((int)v9);
return a1;
}