//
// fmt::BasicWriter::FillPadding from 0x1002061d0 to 0x10020623b (107 bytes)
//
// 2 xrefs:
// > fmt::BasicWriter::FillPadding @ 0x1009a9e62
// > ??> @ 0x100ab3178
//
// 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 12:26:53 +0000
//
char *__fastcall fmt::BasicWriter::FillPadding(char *__b, unsigned int a2, __int64 a3, unsigned __int8 a4)
{
__int64 v5; // r12
unsigned __int64 v6; // r15
size_t v7; // r13
int v8; // esi
v5 = a2;
v6 = a2 - a3;
v7 = v6 >> 1;
v8 = a4;
if ( v6 >= 2 )
memset(__b, a4, v7);
if ( v5 != a3 )
memset(&__b[v7 + a3], v8, v6 - v7);
return &__b[v7];
}