//
// sub_1005FCFD8 from 0x1005fcfd8 to 0x1005fd094 (188 bytes)
//
// 1 xrefs:
// > sub_1005FE7F8 @ 0x1005fe828
//
// 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_1005FCFD8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
void *v12; // x0
_QWORD *v13; // x0
_DWORD *v14; // x23
__int64 v15; // x19
v12 = sub_1005DB7B0();
v13 = sub_1005DA484((__int64)v12);
v14 = v13;
if ( v13 )
{
sub_1005DAB78(v13, 106, 0, a3);
v15 = sub_1005FE8B0(a1, a2, v14, a4, a5, a6);
sub_1005DA554(v14);
return v15;
}
else
{
sub_1005E0E48(9, 102, 7, (__int64)"pem_lib.c", 172);
return 0;
}
}