//
// sub_18004C390 from 0x18004c390 to 0x18004c3aa (26 bytes)
//
// 7 xrefs:
// > sub_180051410 @ 0x1800515dd
// > sub_180051410 @ 0x180051675
// > sub_180051410 @ 0x1800518c5
// > sub_1800523F0 @ 0x180052677
// > sub_1800523F0 @ 0x1800527ac
// > sub_180053360 @ 0x1800533e9
// > sub_1800537E0 @ 0x180053816
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:15 +0000
//
__int64 __fastcall sub_18004C390(__int64 a1)
{
if ( *(int *)(a1 + 8) < 0 )
return 0xFFFFFFFFLL;
*(_QWORD *)(a1 + 12) = 0;
*(_QWORD *)(a1 + 20) = 0;
*(_DWORD *)(a1 + 28) = 0;
return 0;
}