//
// sub_100625DAC from 0x100625dac to 0x100625ea4 (248 bytes)
//
// 2 xrefs:
// > sub_100624A7C @ 0x100624b78
// > sub_10062D530 @ 0x10062d580
//
// 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_100625DAC(__int64 a1)
{
_BYTE *v2; // x19
_BYTE *v3; // x20
__int64 v4; // x0
__int16 v6; // w1
int v7; // w3
v2 = sub_1005AAD34();
v3 = sub_1005AAD34();
v4 = sub_1005BFADC(a1);
if ( v4 && sub_1005B7BE4(v4, (__int64)v2) )
{
do
{
if ( !(unsigned int)sub_1005ADFD8((__int64)v3, (__int64)v2) )
{
v6 = 125;
v7 = 449;
goto LABEL_10;
}
}
while ( !*((_DWORD *)v3 + 2) );
if ( sub_1005BFB2C(a1, (__int64)v3) )
{
sub_1005AACD0(v3);
sub_1005AACD0(v2);
return sub_100625C48(a1);
}
v6 = 68;
v7 = 458;
}
else
{
v6 = 68;
v7 = 440;
}
LABEL_10:
sub_100624720(107, v6, (__int64)"gost2001.c", v7);
sub_1005AACD0(v3);
sub_1005AACD0(v2);
return 0;
}