//
// fmt::BasicWriter::operator<< from 0x180041380 to 0x1800413ee (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb4dc
//
// 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 11:21:39 +0000
//
__int64 *__fastcall fmt::BasicWriter::operator<<(__int64 *a1, __int64 a2)
{
size_t v2; // rdi
const char *v4; // rsi
__int64 v5; // rbx
v2 = *(_QWORD *)(a2 + 8);
v4 = *(const char **)a2;
if ( !v2 && v4 )
v2 = strlen(*(const char **)a2);
v5 = *a1;
sub_180044BB0(a1, *a1 + v2);
memmove((void *)(v5 + a1[2]), v4, v2);
return a1;
}