// // policy_data_new from 0xdf32b4 to 0xdf33b0 (252 bytes) // // 7 xrefs: // > policy_cache_set @ 0xdf309c // > policy_cache_set_mapping @ 0xdf3484 // > X509_policy_check @ 0xdf3b10 // > X509_policy_check @ 0xdf3c38 // > X509_policy_check @ 0xdf3d70 // > X509_policy_check @ 0xdf3ec0 // > @ 0x9e490 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _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