//
// sub_DFC38 from 0xdfc38 to 0xdfcbc (132 bytes)
//
// 4 xrefs:
// > FMOD::SystemI::createDiskFile @ 0x78914
// > FMOD::SystemI::createDiskFile @ 0x78958
// > sub_78B30 @ 0x78d60
// > sub_E0DE4 @ 0xe0df8
//
// 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_DFC38(__int64 a1, __int64 a2, int a3, int a4)
{
*(_DWORD *)(a1 + 356) = a4;
*(_QWORD *)(a1 + 392) = 0;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 48) = 0;
*(_QWORD *)(a1 + 408) = a2;
*(_DWORD *)(a1 + 384) = 0;
*(_QWORD *)(a1 + 336) = 0;
*(_QWORD *)(a1 + 344) = 0;
*(_QWORD *)(a1 + 328) = 0;
*(_DWORD *)(a1 + 352) = 0;
*(_QWORD *)(a1 + 360) = 0;
*(_QWORD *)(a1 + 368) = 0;
*(_QWORD *)(a1 + 376) = 0;
*(_QWORD *)(a1 + 480) = 0;
*(_QWORD *)(a1 + 488) = 0;
*(_QWORD *)(a1 + 472) = 0;
atomic_store(0, (unsigned int *)(a1 + 400));
*(_BYTE *)(a1 + 60) = 0;
*(_DWORD *)(a1 + 32) = a3;
*(_DWORD *)(a1 + 36) = a3;
*(_DWORD *)(a1 + 64) = 3;
memset((void *)(a1 + 68), 0, 0x100u);
*(_OWORD *)(a1 + 416) = 0u;
*(_OWORD *)(a1 + 432) = 0u;
*(_OWORD *)(a1 + 448) = 0u;
*(_QWORD *)(a1 + 464) = 0;
return 0;
}