//
// sub_51DE4 from 0x51de4 to 0x51e14 (48 bytes)
//
// 1 xrefs:
// > sub_51FA4 @ 0x5205c
//
// 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_51DE4(__int64 a1)
{
__int64 result; // x0
result = sub_E42C0();
*(_QWORD *)(a1 + 352) = 0;
*(_QWORD *)(a1 + 360) = 0;
*(_QWORD *)(a1 + 336) = a1 + 336;
*(_QWORD *)(a1 + 344) = a1 + 336;
*(_DWORD *)(a1 + 368) = 0;
return result;
}