//
// sub_100725290 from 0x100725290 to 0x100725374 (228 bytes)
//
// 6 xrefs:
// > sub_100664B20 @ 0x100664b4c
// > sub_10066B510 @ 0x10066b594
// > sub_10066B654 @ 0x10066b68c
// > sub_10066B654 @ 0x10066b6b0
// > sub_10066B654 @ 0x10066b738
// > sub_10073B9B8 @ 0x10073bb70
//
// 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:07 +0000
//
bool __fastcall sub_100725290(__int64 a1, _DWORD *a2)
{
_BYTE *v3; // x0
__int64 v4; // x19
int v5; // w0
int v6; // w20
__int16 v7; // w2
int v8; // w4
if ( !a1 || !*(_QWORD *)a1 || (v3 = sub_100718DB8(*(_QWORD *)(*(_QWORD *)a1 + 48LL)), (v4 = (__int64)v3) == 0) )
{
sub_100706FB0(11, 128, 117, (__int64)"x509_cmp.c", 346);
return 0;
}
v5 = sub_10070F750((__int64)v3, a2);
v6 = v5;
switch ( v5 )
{
case 0:
v7 = 116;
v8 = 340;
goto LABEL_11;
case -1:
v7 = 115;
v8 = 343;
LABEL_11:
sub_100706FB0(11, 128, v7, (__int64)"x509_cmp.c", v8);
break;
case -2:
v7 = 117;
v8 = 346;
goto LABEL_11;
}
sub_10070FBF4(v4);
return v6 > 0;
}