//
// sub_100593054 from 0x100593054 to 0x10059309c (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x100838738
//
// 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_100593054(__int64 a1)
{
__int64 v1; // x19
char *v2; // x0
size_t v3; // x1
v1 = *(_QWORD *)(a1 + 40);
sub_100592D58((char *)(v1 + 32));
v2 = *(char **)(v1 + 16);
if ( v2 )
{
v3 = *(int *)(v1 + 8);
if ( (_DWORD)v3 )
{
sub_10058A3A8(v2, v3);
v2 = *(char **)(v1 + 16);
}
sub_100588C44(v2);
*(_QWORD *)(v1 + 16) = 0;
}
sub_100588C44((void *)v1);
}