//
// sub_1003EB0F0 from 0x1003eb0f0 to 0x1003eb1e3 (243 bytes)
//
// 1 xrefs:
// > sub_1003DFFA0 @ 0x1003e01c9
//
// 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_1003EB0F0(_QWORD *a1, __int64 *a2, __int64 *a3)
{
__int64 v5; // rsi
char *v6; // r12
char *v7; // r13
char *v8; // r13
v5 = a1[1];
if ( v5 )
{
__bzero(*a1, 8 * v5);
v6 = (char *)a1[2];
*((_OWORD *)a1 + 1) = 0;
if ( v6 )
{
while ( a2 != a3 )
{
*((_DWORD *)v6 + 4) = *((_DWORD *)a2 + 4);
std::string::operator=((std::string *)v6 + 1, (const std::string *)a2 + 1);
memcpy(v6 + 48, a2 + 6, 0x9Du);
v7 = *(char **)v6;
sub_1003EB220(a1, v6);
a2 = (__int64 *)*a2;
v6 = v7;
if ( !v7 )
goto LABEL_10;
}
do
{
v8 = *(char **)v6;
if ( (v6[24] & 1) != 0 )
operator delete(*((void **)v6 + 5));
operator delete(v6);
v6 = v8;
}
while ( v8 );
}
}
LABEL_10:
while ( a2 != a3 )
{
sub_1003EB760(a1, a2 + 2);
a2 = (__int64 *)*a2;
}
}