//
// sub_10062A710 from 0x10062a710 to 0x10062a7a8 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x100869d88
// > ??> @ 0x100869de0
//
// 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_10062A710(__int64 a1, int a2, __int64 a3, _DWORD *a4)
{
__int16 v5; // w1
int v6; // w3
if ( a2 == 7 )
{
if ( a4 )
{
*a4 = 810;
return 1;
}
else
{
return 0;
}
}
else
{
if ( a2 == 6 )
{
if ( (int)sub_1005E01C8((__int64)a4, *(unsigned int *)(a1 + 104)) > 0 )
return 1;
v5 = 123;
v6 = 405;
}
else
{
v5 = 129;
v6 = 420;
}
sub_100624720(111, v5, (__int64)"gost_crypt.c", v6);
return 0xFFFFFFFFLL;
}
}