//
// sub_100741DEC from 0x100741dec to 0x100741fbc (464 bytes)
//
// 1 xrefs:
// > sub_100741BF4 @ 0x100741c78
//
// 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:21 +0000
//
__int64 sub_100741DEC()
{
int v0; // w0
__int16 v1; // w2
int v2; // w4
char *v3; // x1
__int64 *v4; // x0
void *v5; // x19
void *v6; // x20
void *v7; // x21
void *v8; // x22
void *v9; // x23
void *v10; // x24
void *v11; // x0
__int64 v12; // x8
if ( qword_100A0ED50 )
{
v0 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v0 = sub_100707AE4();
dword_100A0ED44 = v0;
}
v1 = 100;
v2 = 460;
}
else
{
if ( qword_100A0ED90 )
v3 = (char *)qword_100A0ED90;
else
v3 = "aep";
v4 = sub_1006FC118(nullptr, v3, 0, 0);
qword_100A0ED50 = (__int64)v4;
if ( v4 )
{
v5 = (void *)sub_1006FC348((__int64)v4, (__int64)"AEP_ModExp");
if ( v5 )
{
v6 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_ModExpCrt");
if ( v6 )
{
v7 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_Finalize");
if ( v7 )
{
v8 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_Initialize");
if ( v8 )
{
v9 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_OpenConnection");
if ( v9 )
{
v10 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_SetBNCallBacks");
if ( v10 )
{
v11 = (void *)sub_1006FC348(qword_100A0ED50, (__int64)"AEP_CloseConnection");
if ( v11 )
{
off_100A0ED88 = v5;
off_100A0ED58 = v6;
off_100A0ED60 = v7;
off_100A0ED68 = v8;
off_100A0ED70 = v10;
off_100A0ED78 = v9;
v12 = 1;
goto LABEL_26;
}
}
}
}
}
}
}
v0 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v0 = sub_100707AE4();
dword_100A0ED44 = v0;
}
v1 = 111;
v2 = 482;
}
else
{
v0 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v0 = sub_100707AE4();
dword_100A0ED44 = v0;
}
v1 = 111;
v2 = 468;
}
}
sub_100706FB0(v0, 103, v1, (__int64)"e_aep.c", v2);
if ( qword_100A0ED50 )
sub_1006FC01C((__int64 *)qword_100A0ED50);
v11 = nullptr;
v12 = 0;
qword_100A0ED50 = 0;
off_100A0ED78 = nullptr;
off_100A0ED88 = nullptr;
off_100A0ED58 = nullptr;
off_100A0ED60 = nullptr;
off_100A0ED68 = nullptr;
off_100A0ED70 = nullptr;
LABEL_26:
off_100A0ED80 = v11;
return v12;
}