//
// sub_100728A0C from 0x100728a0c to 0x100728ae8 (220 bytes)
//
// 1 xrefs:
// > sub_100728C64 @ 0x100728cc4
//
// 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:09 +0000
//
_DWORD **__fastcall sub_100728A0C(_DWORD ***a1, __int64 a2, int a3, char *a4)
{
_DWORD **v8; // x19
_QWORD *v9; // x0
if ( !a1 || (v8 = *a1) == nullptr )
{
v8 = (_DWORD **)sub_100719484();
if ( !v8 )
return nullptr;
}
if ( !a2 || !v8 )
{
sub_100706FB0(11, 115, 67, (__int64)"x509name.c", 352);
goto LABEL_12;
}
sub_100714840(*v8);
v9 = sub_1006B1FC0(a2);
*v8 = v9;
if ( !v9 || !(unsigned int)sub_100728D50((int)v8, a3, a4) )
{
LABEL_12:
if ( !a1 || v8 != *a1 )
sub_100719490((__int64)v8);
return nullptr;
}
if ( a1 && !*a1 )
*a1 = v8;
return v8;
}