//
// sub_C7F68 from 0xc7f68 to 0xc7f9c (52 bytes)
//
// 1 xrefs:
// > sub_7755C @ 0x778ac
//
// 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_C7F68(__int64 a1, unsigned __int64 a2, unsigned __int64 a3, char a4)
{
__int64 result; // x0
if ( a3 < a2 && a3 )
return 31;
result = 0;
*(_QWORD *)(a1 + 24) = a2;
*(_QWORD *)(a1 + 32) = a3;
*(_BYTE *)(a1 + 49) = 0;
if ( (a4 & 1) != 0 )
{
result = 0;
*(_BYTE *)(a1 + 48) = 1;
}
return result;
}