//
// fmt::BasicWriter::FillPadding from 0x60ba2c to 0x60ba56 (42 bytes)
//
// 7 xrefs:
// > fmt::BasicWriter::PrepareBufferForInt @ 0x2e05b6
// > fmt::BasicWriter::PrepareBufferForInt @ 0x60bf42
// > fmt::BasicWriter::write_str @ 0x60c6a8
// > fmt::BasicWriter::FormatDouble @ 0x60c954
// > fmt::BasicWriter::FormatDouble @ 0x60cd20
// > fmt::internal::PrintfParser::Format @ 0x60d05c
// > fmt::BasicFormatter::format @ 0x60d3f6
//
// 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, int a2, int a3, unsigned __int8 a4)
{
int v4; // r7
int v5; // r6
size_t v7; // r5
char *v8; // r4
v4 = a2 - a3;
v5 = a4;
v7 = (unsigned int)(a2 - a3) >> 1;
v8 = &a1[v7];
sub_60B970(a1, v7, a4);
sub_60B970(&v8[a3], v4 - v7, v5);
return v8;
}