//
// sub_A7708 from 0xa7708 to 0xa774a (66 bytes)
//
// 1 xrefs:
// > sub_61B58 @ 0x61dde
//
// 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
//
int __fastcall sub_A7708(int a1, unsigned __int64 a2, unsigned __int64 a3, int a4)
{
int v5; // r1
if ( a3 < a2 && a3 )
return 31;
v5 = 0;
*(_BYTE *)(a1 + 49) = 0;
*(_QWORD *)(a1 + 24) = a2;
*(_QWORD *)(a1 + 32) = a3;
if ( a4 )
{
*(_BYTE *)(a1 + 48) = 1;
return 0;
}
return v5;
}