//
// X509_VERIFY_PARAM_add0_policy from 0x106c860 to 0x106c8a8 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0xe9d88
//
// 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:16:57 +0000
//
int *__fastcall X509_VERIFY_PARAM_add0_policy(__int64 a1, __int64 a2)
{
int *result; // x0
__int64 v4; // [xsp+28h] [xbp+28h]
result = *(int **)(a1 + 48);
if ( result )
return (int *)((unsigned int)OPENSSL_sk_push(result, a2) != 0);
v4 = a2;
result = (int *)OPENSSL_sk_new_null();
*(_QWORD *)(a1 + 48) = result;
a2 = v4;
if ( result )
return (int *)((unsigned int)OPENSSL_sk_push(result, a2) != 0);
return result;
}