//
// sub_524B8 from 0x524b8 to 0x527dc (804 bytes)
//
// 4 xrefs:
// > sub_5215C @ 0x5216c
// > sub_52858 @ 0x5286c
// > ??> @ 0x10c128
// > ??> @ 0x10c318
//
// 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_524B8(__int64 a1, int a2, __int64 a3, __int64 a4)
{
*(_QWORD *)(a1 + 32) = a4;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 56) = 0;
*(_QWORD *)(a1 + 72) = 0;
*(_QWORD *)(a1 + 8) = a3;
*(_QWORD *)(a1 + 80) = 0xFFFFFFFF00000000LL;
*(_DWORD *)(a1 + 64) = a2;
return 0;
}