//
// fmt::internal::Array::append from 0x60be02 to 0x60be30 (46 bytes)
//
// 6 xrefs:
// > fmt::internal::PrintfParser::Format @ 0x60cdd2
// > fmt::internal::PrintfParser::Format @ 0x60cdde
// > fmt::internal::PrintfParser::Format @ 0x60d0d8
// > fmt::BasicFormatter::Format @ 0x60d4e6
// > fmt::BasicFormatter::Format @ 0x60d4fc
// > fmt::BasicFormatter::Format @ 0x60d520
//
// 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
//
int __fastcall fmt::internal::Array::append(_DWORD *a1, _BYTE *a2, _BYTE *a3)
{
int v3; // r5
unsigned int v6; // r1
int result; // r0
v3 = a3 - a2;
v6 = *a1 + a3 - a2;
if ( v6 > a1[1] )
fmt::internal::Array::grow((int)a1, v6);
result = std::copy(a2, a3, (void *)(a1[2] + *a1));
*a1 += v3;
return result;
}