//
// sub_100602AFC from 0x100602afc to 0x100602be8 (236 bytes)
//
// 1 xrefs:
// > sub_100608488 @ 0x10060853c
//
// 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_100602AFC(__int64 a1, char *a2, int a3, char *a4, __int64 a5, int a6, int a7)
{
char **v12; // x26
_DWORD **v13; // x22
__int64 v14; // x19
__int64 v16; // x1
__int64 v17; // x2
__int64 v18; // x3
__int64 v19; // x4
__int64 v20; // x5
__int64 v21; // x6
__int64 v22; // x7
v12 = sub_10058AF50(a2, 0);
if ( v12 )
{
v13 = sub_1006028A4(nullptr, (__int64)v12, a3, a4);
sub_1005EE6D8(v12);
if ( v13 )
{
v14 = sub_100602980(a1, (__int64)v13, a6, a7);
sub_1005F3328((__int64)v13);
return v14;
}
}
else
{
sub_1005E0E48(11, 131, 119, (__int64)"x509name.c", 295);
sub_1005E19F0(2, v16, v17, v18, v19, v20, v21, v22, (char)"name=");
}
return 0;
}