//
// OPENSSL_sk_delete_ptr from 0xa4d434 to 0xa4d48c (88 bytes)
//
// 4 xrefs:
// > sub_A589E0 @ 0xa58dec
// > _CONF_add_string @ 0xa8d43c
// > engine_table_register @ 0xac9488
// > ??> @ 0x8023c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:21 +0000
//
int __fastcall OPENSSL_sk_delete_ptr(int *a1, int a2)
{
_DWORD *v2; // r2
int v3; // r3
int v4; // t1
if ( *a1 <= 0 )
return 0;
v2 = (_DWORD *)a1[1];
if ( *v2 != a2 )
{
v3 = 0;
while ( ++v3 != *a1 )
{
v4 = v2[1];
++v2;
if ( v4 == a2 )
return OPENSSL_sk_delete(a1, v3);
}
return 0;
}
v3 = 0;
return OPENSSL_sk_delete(a1, v3);
}