//
// sub_100613390 from 0x100613390 to 0x100613434 (164 bytes)
//
// 3 xrefs:
// > sub_1005D90E0 @ 0x1005d90f8
// > sub_1005E49A0 @ 0x1005e49b4
// > sub_1005FC660 @ 0x1005fc678
//
// 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
//
bool __fastcall sub_100613390(char *a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x0
__int64 v7; // x21
if ( !qword_100884EB8 )
{
qword_100884EB8 = (__int64)sub_1005DE4A4();
if ( !qword_100884EB8 )
goto LABEL_6;
}
v6 = sub_100588710(48, (__int64)"conf_mod.c", 285);
v7 = (__int64)v6;
if ( !v6 )
goto LABEL_6;
*v6 = 0;
v6[1] = sub_1005DA128(a1);
*(_QWORD *)(v7 + 16) = a2;
*(_QWORD *)(v7 + 24) = a3;
*(_DWORD *)(v7 + 32) = 0;
if ( !(unsigned int)sub_1005DE80C((void **)qword_100884EB8, v7) )
{
sub_100588C44((void *)v7);
LABEL_6:
v7 = 0;
}
return v7 != 0;
}