//
// X509v3_addr_get_range from 0x10744d8 to 0x107454c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0xe6e60
//
// 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 13:17:03 +0000
//
__int64 __fastcall X509v3_addr_get_range(_DWORD *a1, int a2, _BYTE *a3, char *a4, int a5)
{
int v5; // w19
if ( a2 == 1 )
{
v5 = 4;
}
else
{
v5 = 16;
if ( a2 != 2 )
return 0;
}
if ( !a1 || !a3 || !a4 || a5 < v5 || *a1 > 1u || !(unsigned int)sub_1072B54((__int64)a1, a3, a4, v5) )
return 0;
return (unsigned int)v5;
}