//
// sub_1007394F8 from 0x1007394f8 to 0x10073959c (164 bytes)
//
// 3 xrefs:
// > sub_1006FF248 @ 0x1006ff260
// > sub_10070AB08 @ 0x10070ab1c
// > sub_1007227C8 @ 0x1007227e0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:13:16 +0000
//
bool __fastcall sub_1007394F8(char *a1, __int64 a2, __int64 a3)
{
_QWORD *v6; // x0
__int64 v7; // x21
if ( !qword_100A0EA08 )
{
qword_100A0EA08 = (__int64)sub_10070460C();
if ( !qword_100A0EA08 )
goto LABEL_6;
}
v6 = sub_1006AE878(48, (__int64)"conf_mod.c", 285);
v7 = (__int64)v6;
if ( !v6 )
goto LABEL_6;
*v6 = 0;
v6[1] = sub_100700290(a1);
*(_QWORD *)(v7 + 16) = a2;
*(_QWORD *)(v7 + 24) = a3;
*(_DWORD *)(v7 + 32) = 0;
if ( !(unsigned int)sub_100704974((void **)qword_100A0EA08, v7) )
{
sub_1006AEDAC((void *)v7);
LABEL_6:
v7 = 0;
}
return v7 != 0;
}