//
// fmt::BasicWriter::write_str from 0xddd664 to 0xddd6e4 (128 bytes)
//
// 5 xrefs:
// > fmt::BasicFormatter::format @ 0xde0bd4
// > fmt::BasicFormatter::format @ 0xde0bec
// > fmt::internal::PrintfParser::Format @ 0xde1f7c
// > fmt::internal::PrintfParser::Format @ 0xde1fa4
// > ??> @ 0x42f28
//
// 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 13:09:07 +0000
//
char *__fastcall fmt::BasicWriter::write_str(size_t *a1, __int64 a2, __int64 a3)
{
unsigned int *v3; // x3
fmt::internal *v6; // x0
size_t v7; // x2
char *v8; // x1
unsigned int *v10; // [xsp+20h] [xbp+20h]
char *v11; // [xsp+28h] [xbp+28h]
v3 = (unsigned int *)a3;
v6 = (fmt::internal *)*(unsigned __int8 *)(a3 + 20);
if ( (_DWORD)v6 != 115 && *(_BYTE *)(a3 + 20) )
{
fmt::internal::ReportUnknownType(v6, (char)"string", (const char *)a3);
v3 = (unsigned int *)a3;
}
v7 = *(_QWORD *)(a2 + 8);
v8 = *(char **)a2;
if ( !v7 && *v8 )
{
v10 = v3;
v11 = *(char **)a2;
v7 = strlen(*(const char **)a2);
v3 = v10;
v8 = v11;
}
return fmt::BasicWriter::write_str(a1, v8, v7, v3);
}