// // sub_DFFAEC from 0xdffaec to 0xdffc74 (392 bytes) // // 1 xrefs: // > @ 0x12256c0 // // 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 sub_DFFAEC(__int64 a1, __int64 a2, unsigned int *a3) { int v4; // w19 __int64 v5; // x0 _QWORD *v6; // x26 __int64 v7; // x25 bool v8; // cc int v9; // w1 __int64 v10; // x0 __int64 v11; // x0 const char *v12; // x21 _QWORD *v13; // x20 _QWORD *result; // x0 v4 = 0; v5 = POLICY_CONSTRAINTS_new(); v6 = (_QWORD *)v5; if ( v5 ) { v7 = v5 + 8; while ( 1 ) { v8 = v4 < (int)OPENSSL_sk_num(a3); v9 = v4; v10 = (__int64)a3; if ( !v8 ) break; while ( 1 ) { v11 = OPENSSL_sk_value(v10, v9); v12 = *(const char **)(v11 + 8); v13 = (_QWORD *)v11; ++v4; if ( strcmp(v12, "requireExplicitPolicy") ) break; if ( !(unsigned int)X509V3_get_value_int(v13, v6) ) goto LABEL_8; v8 = v4 < (int)OPENSSL_sk_num(a3); v9 = v4; v10 = (__int64)a3; if ( !v8 ) goto LABEL_12; } if ( strcmp(v12, "inhibitPolicyMapping") ) { ERR_put_error(34, 146, 106, (__int64)"crypto/x509v3/v3_pcons.c", 76); ERR_add_error_data(6, "section:", *v13, ",name:", v13[1], ",value:", v13[2]); goto LABEL_8; } if ( !(unsigned int)X509V3_get_value_int(v13, v7) ) goto LABEL_8; } LABEL_12: result = v6; if ( !v6[1] && !*v6 ) { ERR_put_error(34, 146, 151, (__int64)"crypto/x509v3/v3_pcons.c", 83); LABEL_8: POLICY_CONSTRAINTS_free((__int64)v6); return nullptr; } } else { ERR_put_error(34, 146, 65, (__int64)"crypto/x509v3/v3_pcons.c", 64); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source