//
// sub_68D04 from 0x68d04 to 0x68d60 (92 bytes)
//
// 4 xrefs:
// > ??> @ 0x10ca40
// > ??> @ 0x10cbe8
// > ??> @ 0x10cd90
// > ??> @ 0x10cf20
//
// 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_68D04(__int64 a1, _DWORD *a2, int *a3, _DWORD *a4, __int64 a5)
{
int v5; // w8
if ( a2 )
*a2 = *(_DWORD *)(a1 + 36);
if ( a3 )
{
if ( (*(_BYTE *)(a1 + 45) & 2) != 0 && !*(_DWORD *)(a1 + 176) )
v5 = 6;
else
v5 = *(_DWORD *)(a1 + 40);
*a3 = v5;
}
if ( a4 )
*a4 = *(_DWORD *)(a1 + 104);
if ( a5 )
sub_68D60(a1, a5);
return 0;
}