//
// fmt::internal::Array::append from 0x60e6f8 to 0x60e72a (50 bytes)
//
// 6 xrefs:
// > fmt::BasicFormatter::Format @ 0x60ed00
// > fmt::BasicFormatter::Format @ 0x60ed16
// > fmt::BasicFormatter::Format @ 0x60ed3a
// > fmt::internal::PrintfParser::Format @ 0x60edc6
// > fmt::internal::PrintfParser::Format @ 0x60edd2
// > fmt::internal::PrintfParser::Format @ 0x60f0d8
//
// 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, void *a2, int a3)
{
int v4; // r5
unsigned int v5; // r1
int result; // r0
v4 = (a3 - (int)a2) >> 2;
v5 = *a1 + v4;
if ( v5 > a1[1] )
fmt::internal::Array::grow((int)a1, v5);
result = std::__copy_move::__copy_m(
a2,
a3,
(void *)(a1[2] + 4 * *a1));
*a1 += v4;
return result;
}