//
// sub_10073D0A4 from 0x10073d0a4 to 0x10073d260 (444 bytes)
//
// 3 xrefs:
// > sub_10073CB08 @ 0x10073ceb8
// > sub_10073CB08 @ 0x10073cf18
// > sub_10073D0A4 @ 0x10073d194
//
// 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:18 +0000
//
__int64 __fastcall sub_10073D0A4(__int64 a1, __int64 a2, unsigned int *a3)
{
unsigned int v6; // w0
char *v7; // x0
__int64 v8; // x0
int *v9; // x21
int v10; // w0
int v11; // w22
__int64 v12; // x0
__int64 result; // x0
int v14; // w20
_QWORD *v15; // x0
_BYTE __s1[64]; // [xsp+8h] [xbp-78h] BYREF
if ( a2 )
{
v6 = sub_1006B0F78(**(_QWORD **)a2);
v7 = sub_1006B0DD0(v6);
v8 = sub_10070E1C8((__int64)v7);
v9 = (int *)v8;
if ( v8 )
{
v10 = sub_100711410(v8);
v11 = v10;
if ( v10 < 0 )
{
return 0xFFFFFFFFLL;
}
else if ( **(_DWORD **)(a2 + 8) == v10 )
{
if ( **(_DWORD **)(a2 + 16) == v10 )
{
v12 = sub_1007250C8(a1);
if ( (unsigned int)sub_10072A3A0(v12, v9, (__int64)__s1, nullptr) )
{
if ( !memcmp(__s1, *(const void **)(*(_QWORD *)(a2 + 8) + 8LL), v11) )
{
sub_10072A2F4(a1, v9, (__int64)__s1, nullptr);
return memcmp(__s1, *(const void **)(*(_QWORD *)(a2 + 16) + 8LL), v11) == 0;
}
else
{
return 0;
}
}
else
{
return 0xFFFFFFFFLL;
}
}
else
{
return 0;
}
}
else
{
return 0;
}
}
else
{
sub_100706FB0(39, 109, 119, (__int64)"ocsp_vfy.c", 319);
return 0xFFFFFFFFLL;
}
}
else if ( (int)sub_100704BB4(a3) <= 0 )
{
return 1;
}
else
{
v14 = 0;
while ( 1 )
{
v15 = (_QWORD *)sub_100704BC8((__int64)a3, v14);
result = sub_10073D0A4(a1, *v15, 0);
if ( (int)result <= 0 )
break;
if ( ++v14 >= (int)sub_100704BB4(a3) )
return 1;
}
}
return result;
}