//
// sub_1004DA2DC from 0x1004da2dc to 0x1004da304 (40 bytes)
//
// 9 xrefs:
// > sub_1004EC8B4 @ 0x1004ec96c
// > sub_1004ECD00 @ 0x1004ecd3c
// > sub_1004ECE90 @ 0x1004ed01c
// > sub_1004ECE90 @ 0x1004ed0f4
// > sub_1004ECE90 @ 0x1004ed1b4
// > sub_1004ECE90 @ 0x1004ed2d4
// > sub_1004EFA00 @ 0x1004efaac
// > sub_1004EFBB8 @ 0x1004efcc8
// > sub_1004EFBB8 @ 0x1004f0004
//
// 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_1004DA2DC(__int64 a1)
{
if ( (*(_DWORD *)(a1 + 8) & 0x80000000) != 0 )
return 0xFFFFFFFFLL;
*(_QWORD *)(a1 + 20) = 0;
*(_QWORD *)(a1 + 12) = 0;
*(_DWORD *)(a1 + 28) = 0;
return 0;
}