//
// sub_10060C60C from 0x10060c60c to 0x10060c6c8 (188 bytes)
//
// 2 xrefs:
// > sub_10060B7A4 @ 0x10060b92c
// > sub_10060C208 @ 0x10060c268
//
// 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
//
void **__fastcall sub_10060C60C(__int64 a1, char *a2)
{
unsigned int *v4; // x0
unsigned int *v5; // x21
void **v6; // x22
if ( *a2 == 64 )
v4 = (unsigned int *)sub_1006061BC(a1);
else
v4 = (unsigned int *)sub_10060738C(a2);
v5 = v4;
if ( v4 )
{
v6 = sub_1006098FC(0, a1, v4);
if ( *a2 == 64 )
sub_100606210(a1, (__int64)v5);
else
sub_1005DE9D0(v5, (void (*)(void))sub_100606E18);
}
else
{
sub_1005E0E48(34, 156, 150, (__int64)"v3_crld.c", 102);
return nullptr;
}
return v6;
}