//
// sub_10073879C from 0x10073879c to 0x100738840 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009ecfe8
// > ??> @ 0x1009ed038
//
// 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
//
__int64 __fastcall sub_10073879C(__int64 a1, const char *a2, __int64 *a3)
{
_QWORD *v5; // x21
__int64 v6; // x19
__int16 v8; // w2
int v9; // w4
v5 = sub_100701808(a2, "rb");
if ( v5 )
{
v6 = sub_100737E18(a1, (__int64)v5, a3);
sub_1007006BC(v5);
return v6;
}
else
{
if ( (sub_1007075D4() & 0xFFF) == 0x80 )
{
v8 = 114;
v9 = 195;
}
else
{
v8 = 2;
v9 = 197;
}
sub_100706FB0(14, 120, v8, (__int64)"conf_def.c", v9);
return 0;
}
}