//
// sub_100737618 from 0x100737618 to 0x100737764 (332 bytes)
//
// 1 xrefs:
// > sub_1006FF264 @ 0x1006ff490
//
// 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:15 +0000
//
__int64 __fastcall sub_100737618(__int64 a1, int a2, char *a3, _QWORD *a4)
{
char *v6; // x0
char *v7; // x23
char *v8; // x21
__int64 v9; // x23
int v12; // w1
__int16 v13; // w2
int v14; // w4
__int64 v15; // x1
__int64 v16; // x2
__int64 v17; // x3
__int64 v18; // x4
__int64 v19; // x5
__int64 v20; // x6
__int64 v21; // x7
if ( !a4 )
{
v12 = 112;
v13 = 67;
v14 = 335;
LABEL_11:
sub_100706FB0(14, v12, v13, (__int64)"conf_lib.c", v14);
return 0;
}
v6 = (char *)sub_100737960(a1, a2, a3);
v7 = v6;
if ( !v6 )
{
if ( a1 )
{
sub_100706FB0(14, 109, 108, (__int64)"conf_lib.c", 324);
sub_100707B58(4, v15, v16, v17, v18, v19, v20, v21, (char)"group=");
return 0;
}
v12 = 109;
v13 = 106;
v14 = 321;
goto LABEL_11;
}
*a4 = 0;
if ( (*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 56LL))(a1, (unsigned int)*v6) )
{
v8 = v7 + 1;
do
{
v9 = 10LL * *a4;
*a4 = v9 + (*(int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 64LL))(a1, (unsigned int)*(v8 - 1));
}
while ( (*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 56LL))(a1, (unsigned int)*v8++) );
}
return 1;
}