//
// sub_100605E48 from 0x100605e48 to 0x100605fbc (372 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083fc58
//
// 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_100605E48(__int64 a1, __int64 a2, unsigned int *a3)
{
__int64 v4; // x19
int i; // w21
__int64 v6; // x25
const char *v7; // x26
__int64 v8; // x1
__int64 v9; // x2
__int64 v10; // x3
__int64 v11; // x4
__int64 v12; // x5
__int64 v13; // x6
__int64 v14; // x7
v4 = sub_1005F55E0((__int64)&unk_10083FBD8);
if ( !v4 )
{
sub_1005E0E48(34, 102, 65, (__int64)"v3_bcons.c", 111);
return 0;
}
if ( (int)sub_1005DEA4C(a3) >= 1 )
{
for ( i = 0; i < (int)sub_1005DEA4C(a3); ++i )
{
v6 = sub_1005DEA60((__int64)a3, i);
v7 = *(const char **)(v6 + 8);
if ( !strcmp(v7, "CA") )
{
if ( !(unsigned int)sub_100607174(v6, v4) )
goto LABEL_13;
}
else
{
if ( strcmp(v7, "pathlen") )
{
sub_1005E0E48(34, 102, 106, (__int64)"v3_bcons.c", 123);
sub_1005E19F0(6, v8, v9, v10, v11, v12, v13, v14, (char)"section:");
LABEL_13:
sub_1005F5B94(v4, (__int64)&unk_10083FBD8);
return 0;
}
if ( !(unsigned int)sub_100607310(v6, v4 + 8) )
goto LABEL_13;
}
}
}
return v4;
}