//
// sub_1005D6708 from 0x1005d6708 to 0x1005d674c (68 bytes)
//
// 10 xrefs:
// > sub_1005D9588 @ 0x1005d95ac
// > sub_10061A4D8 @ 0x10061a500
// > sub_10061BA8C @ 0x10061bab4
// > sub_10061CA34 @ 0x10061ca5c
// > sub_10061D450 @ 0x10061d478
// > sub_10061F258 @ 0x10061f280
// > sub_100620C30 @ 0x100620c58
// > sub_1006213AC @ 0x1006213d4
// > sub_100622FA8 @ 0x100622fd0
// > sub_10062B43C @ 0x10062b494
//
// 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_1005D6708(_QWORD *a1, __int64 a2)
{
if ( a2 )
{
*a1 = a2;
return 1;
}
else
{
sub_1005E0E48(38, 129, 67, "eng_lib.c", 244);
return 0;
}
}