//
// sub_10062D530 from 0x10062d530 to 0x10062d5c8 (152 bytes)
//
// 1 xrefs:
// > sub_10062CB98 @ 0x10062cc88
//
// 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_10062D530(__int64 a1, __int64 a2)
{
int *v3; // x21
_BYTE *v4; // x20
__int64 v5; // x0
v3 = (int *)sub_1005EC8F8(a1);
if ( *v3 )
{
v4 = sub_1005BF574();
if ( (unsigned int)sub_1006250BC((__int64)v4, *v3) )
{
sub_1005E97F4(a2, 811, (__int64)v4);
v5 = sub_1005E9848(a2);
sub_100625DAC(v5);
return 1;
}
else
{
sub_1005BF684((__int64)v4);
return 0;
}
}
else
{
sub_100624720(138, 119, (__int64)"gost_pmeth.c", 279);
return 0;
}
}