//
// fmt::BasicWriter::FillPadding from 0xb672bc to 0xb6731c (96 bytes)
//
// 2 xrefs:
// > fmt::BasicWriter::PrepareBufferForInt @ 0x56a218
// > ??> @ 0x64158
//
// 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
//
char *__fastcall fmt::BasicWriter::FillPadding(char *a1, unsigned int a2, __int64 a3, unsigned __int8 a4)
{
unsigned __int64 v4; // x20
int v5; // w22
char *v7; // x19
v4 = a2 - a3;
v5 = a4;
v7 = &a1[v4 >> 1];
memset(a1, a4, v4 >> 1);
memset(&v7[a3], v5, v4 - (v4 >> 1));
return v7;
}