//
// fmt::BasicWriter::FillPadding from 0x10008ef90 to 0x10008f008 (120 bytes)
//
// 3 xrefs:
// > fmt::BasicWriter::FillPadding @ 0x100756058
// > fmt::BasicWriter::FillPadding @ 0x100756054
// > ??> @ 0x1008ac2b8
//
// This function is hookable on this platform (idp: arm, 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 10:58:22 +0000
//
char *__fastcall fmt::BasicWriter::FillPadding(char *__b, unsigned int a2, __int64 a3, int __c)
{
__int64 v7; // x24
unsigned __int64 v8; // x23
unsigned __int64 v9; // x21
char *v10; // x22
v7 = a2;
v8 = a2 - a3;
v9 = v8 >> 1;
if ( v8 >= 2 )
memset(__b, __c, v8 >> 1);
v10 = &__b[v9];
if ( v7 != a3 )
memset(&v10[a3], __c, v8 - v9);
return v10;
}