//
// sub_100093680 from 0x100093680 to 0x100093704 (132 bytes)
//
// 0 xrefs:
//
// 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
//
void *__fastcall sub_100093680(__int64 a1, const char *a2, int a3)
{
void *v5; // rdi
size_t v6; // r12
char *v7; // r15
void *result; // rax
if ( (*(_BYTE *)(a1 + 1) & 2) != 0 )
{
v5 = *(void **)(a1 + 8);
if ( v5 )
operator delete[](v5);
}
*(_DWORD *)a1 = 0;
*(_OWORD *)(a1 + 8) = 0;
v6 = strlen(a2);
v7 = (char *)operator new[](v6 + 1);
*(_QWORD *)(a1 + 8) = v7;
result = memcpy(v7, a2, v6 + 1);
*(_QWORD *)(a1 + 16) = &v7[v6];
*(_DWORD *)a1 = a3 | 0x200;
return result;
}