//
// sub_10062DB00 from 0x10062db00 to 0x10062dbbc (188 bytes)
//
// 2 xrefs:
// > sub_10062DBEC @ 0x10062dc00
// > sub_10062CB98 @ 0x10062cda8
//
// 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_10062DB00(__int64 a1)
{
unsigned int *v2; // x21
_QWORD *v3; // x0
_DWORD *v4; // x20
int v5; // w0
__int64 v6; // x0
__int64 v7; // x0
int v8; // w0
__int64 v10; // x0
v2 = (unsigned int *)sub_1005EC900(a1);
v3 = sub_100588710(32, (__int64)"gost_pmeth.c", 26);
v4 = v3;
if ( !v3 )
return 0;
v3[2] = 0;
v3[3] = 0;
*v3 = 0;
v3[1] = 0;
if ( !v2 || !sub_1005E9848((__int64)v2) )
goto LABEL_10;
v5 = sub_1005E9A40(v2);
if ( v5 == 811 )
{
v6 = sub_1005E9848((__int64)v2);
v7 = sub_1005BFADC(v6);
v8 = sub_1005B7C70(v7);
LABEL_9:
*v4 = v8;
LABEL_10:
sub_1005EC8F0(a1, (__int64)v4);
return 1;
}
if ( v5 == 812 )
{
v10 = sub_1005E9848((__int64)v2);
v8 = sub_100627F50(v10);
goto LABEL_9;
}
return 0;
}