//
// sub_18004DE00 from 0x18004de00 to 0x18004de49 (73 bytes)
//
// 3 xrefs:
// > sub_1800484A0 @ 0x1800484ff
// > sub_1800484A0 @ 0x18004852e
// > ??> @ 0x1801f8754
//
// 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_18004DE00(__int64 a1, __int64 a2)
{
__int64 v4; // rdx
__int64 result; // rax
__int64 v6; // rdx
if ( a2 )
{
v4 = *(_QWORD *)(a2 + 8);
if ( v4 )
result = sub_180033C90(a1, v4);
v6 = *(_QWORD *)(a2 + 16);
if ( v6 )
result = sub_180033C90(a1, v6);
*(_OWORD *)a2 = 0;
*(_OWORD *)(a2 + 16) = 0;
}
return result;
}