//
// sub_62CEC from 0x62cec to 0x62d04 (24 bytes)
//
// 3 xrefs:
// > sub_63570 @ 0x6357c
// > sub_B0810 @ 0xb084c
// > sub_C7478 @ 0xc74a8
//
// 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_62CEC(__int64 a1, __int64 a2, int a3, char a4)
{
*(_BYTE *)(a1 + 12) = 0;
*(_QWORD *)a1 = a2;
*(_DWORD *)(a1 + 8) = a3;
if ( (a4 & 1) != 0 )
return sub_520A0(a1);
return a1;
}