// // policy_data_new from 0x10715f4 to 0x10716f0 (252 bytes) // // 7 xrefs: // > policy_cache_set @ 0x10713dc // > policy_cache_set_mapping @ 0x10717c4 // > X509_policy_check @ 0x1071e50 // > X509_policy_check @ 0x1071f78 // > X509_policy_check @ 0x10720b0 // > X509_policy_check @ 0x1072200 // > @ 0xd05a0 // // 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:01 +0000 // _QWORD *__fastcall policy_data_new(__int64 *a1, __int64 a2, int a3) { __int64 v5; // x19 _QWORD *v6; // x21 _QWORD *v7; // x0 _QWORD *result; // x0 if ( !a1 && !a2 ) return nullptr; if ( a2 ) { v5 = OBJ_dup(a2); if ( !v5 ) return nullptr; } else { v5 = 0; } v6 = CRYPTO_zalloc(&qword_20, (__int64)"crypto/x509v3/pcy_data.c", 51); if ( !v6 ) return nullptr; v7 = OPENSSL_sk_new_null(); v6[3] = v7; if ( !v7 ) { CRYPTO_free(v6, (__int64)"crypto/x509v3/pcy_data.c", 56); ASN1_OBJECT_free(v5); return nullptr; } if ( a3 ) { *(_DWORD *)v6 = 16; if ( v5 ) { LABEL_9: v6[1] = v5; result = v6; if ( !a1 ) return result; goto LABEL_10; } } else if ( v5 ) { goto LABEL_9; } v6[1] = *a1; *a1 = v5; LABEL_10: result = v6; v6[2] = a1[1]; a1[1] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source