//
// sub_1000941D0 from 0x1000941d0 to 0x100094599 (969 bytes)
//
// 1 xrefs:
// > sub_100095400 @ 0x100095460
//
// 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
//
const char *__fastcall sub_1000941D0(__int64 a1, char *a2, __int64 *a3)
{
char v5; // al
const char *v6; // r14
char v7; // cl
char *v8; // rdx
__int64 v9; // r12
__int64 v10; // rax
__int64 (__fastcall **v11)(); // rcx
__int64 v12; // rdx
char v13; // di
char v14; // dl
char *v15; // rcx
v5 = *a2;
if ( *a2 < 0 )
{
v6 = a2;
}
else
{
v6 = a2;
while ( (_DefaultRuneLocale.__runetype[(unsigned __int8)v5] & 0x4000) != 0 )
{
v5 = *++v6;
if ( v5 < 0 )
goto LABEL_8;
}
if ( !v5 )
return v6;
}
LABEL_8:
if ( v6 == "" )
{
LABEL_24:
v9 = a1 + 512;
v10 = sub_1000945A0(a1 + 512);
*(_QWORD *)(v10 + 8) = a1;
*(_QWORD *)(v10 + 16) = 0;
*(_DWORD *)(v10 + 24) = 0;
*(_OWORD *)(v10 + 32) = 0;
*(_OWORD *)(v10 + 48) = 0;
*(_OWORD *)(v10 + 64) = 0;
v11 = off_1008B44F0;
LABEL_25:
*(_QWORD *)v10 = v11;
*(_QWORD *)(v10 + 80) = v9;
v6 += 2;
goto LABEL_47;
}
if ( v5 == 60 )
{
if ( v6[1] )
{
if ( v6[1] == 63 )
goto LABEL_24;
}
else if ( !asc_100827831[1] )
{
goto LABEL_24;
}
}
if ( v6 == "
GD Web Decomp