//
// sub_10072F378 from 0x10072f378 to 0x10072f58c (532 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009c3c38
//
// 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:12 +0000
//
void **__fastcall sub_10072F378(__int64 a1, __int64 a2, unsigned int *a3)
{
void **v6; // x19
int i; // w23
__int64 v8; // x0
int v9; // w8
__int64 *v10; // x0
unsigned int *v11; // x0
unsigned int *v12; // x26
int v13; // w27
__int64 v14; // x0
__int64 v15; // x26
const char *v16; // x0
__int64 v17; // x8
__int16 v18; // w2
int v19; // w4
v6 = (void **)sub_10070460C();
if ( !v6 )
{
sub_100706FB0(34, 153, 65, (__int64)"v3_alt.c", 247);
return nullptr;
}
if ( (int)sub_100704BB4(a3) >= 1 )
{
for ( i = 0; i < (int)sub_100704BB4(a3); ++i )
{
v15 = sub_100704BC8((__int64)a3, i);
if ( !(unsigned int)sub_10072DC7C(*(const char **)(v15 + 8), "issuer")
&& (v16 = *(const char **)(v15 + 16)) != nullptr
&& !strcmp(v16, "copy") )
{
if ( !a2 )
goto LABEL_24;
if ( *(_DWORD *)a2 != 1 )
{
v8 = *(_QWORD *)(a2 + 8);
if ( !v8 )
{
LABEL_24:
v18 = 127;
v19 = 280;
goto LABEL_26;
}
v9 = sub_100728FB8(v8, 0x55u, -1);
if ( (v9 & 0x80000000) == 0 )
{
v10 = (__int64 *)sub_100728FC4(*(_QWORD *)(a2 + 8), v9);
if ( !v10 || (v11 = (unsigned int *)sub_10072C74C(v10), (v12 = v11) == nullptr) )
{
v18 = 126;
v19 = 288;
goto LABEL_26;
}
if ( (int)sub_100704BB4(v11) > 0 )
{
v13 = 0;
while ( 1 )
{
v14 = sub_100704BC8((__int64)v12, v13);
if ( !(unsigned int)sub_100704974(v6, v14) )
break;
if ( ++v13 >= (int)sub_100704BB4(v12) )
goto LABEL_14;
}
v18 = 65;
v19 = 295;
LABEL_26:
sub_100706FB0(34, 123, v18, (__int64)"v3_alt.c", v19);
LABEL_27:
sub_100704B38(v6, (void (*)(void))sub_10072F054);
return nullptr;
}
LABEL_14:
sub_10070447C(v12);
}
}
}
else
{
v17 = sub_10072FB64(0, a1, a2, v15, 0);
if ( !v17 )
goto LABEL_27;
sub_100704974(v6, v17);
}
}
}
return v6;
}