//
// sub_1005D674C from 0x1005d674c to 0x1005d6790 (68 bytes)
//
// 10 xrefs:
// > sub_1005D9588 @ 0x1005d95c0
// > sub_10061A4D8 @ 0x10061a514
// > sub_10061BA8C @ 0x10061bac8
// > sub_10061CA34 @ 0x10061ca70
// > sub_10061D450 @ 0x10061d48c
// > sub_10061F258 @ 0x10061f294
// > sub_100620C30 @ 0x100620c6c
// > sub_1006213AC @ 0x1006213e8
// > sub_100622FA8 @ 0x100622fe4
// > sub_10062B43C @ 0x10062b4a8
//
// 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_1005D674C(__int64 a1, __int64 a2)
{
if ( a2 )
{
*(_QWORD *)(a1 + 8) = a2;
return 1;
}
else
{
sub_1005E0E48(38, 130, 67, "eng_lib.c", 254);
return 0;
}
}