//
// sub_1005D6850 from 0x1005d6850 to 0x1005d68e4 (148 bytes)
//
// 2 xrefs:
// > sub_10058316C @ 0x1005831ac
// > sub_1005D8410 @ 0x1005d8428
//
// 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
//
__int64 __fastcall sub_1005D6850(__int64 a1)
{
__int64 v2; // x20
if ( a1 )
{
sub_100588190(9, 30, (__int64)"eng_list.c", 220);
v2 = *(_QWORD *)(a1 + 208);
if ( v2 )
++*(_DWORD *)(v2 + 172);
sub_100588190(10, 30, (__int64)"eng_list.c", 227);
sub_1005D6580((int *)a1);
}
else
{
sub_1005E0E48(38, 115, 67, "eng_list.c", 217);
return 0;
}
return v2;
}