// // X509_CRL_check_suiteb from 0x83ef94 to 0x83f05c (200 bytes) // // 2 xrefs: // > sub_8462B8 @ 0x8463a8 // > @ 0x66dac // // 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 // int __fastcall X509_CRL_check_suiteb(int a1, _DWORD *a2, int a3) { char *v6; // r6 int v7; // r0 int v8; // r0 int curve_name; // r0 bool v10; // zf bool v11; // zf if ( (a3 & 0x30000) == 0 ) return 0; v6 = OBJ_obj2nid(*(_DWORD *)(a1 + 4)); if ( !a2 ) return 57; if ( EVP_PKEY_id((int)a2) != 408 ) return 57; v7 = EVP_PKEY_get0_EC_KEY(a2); v8 = EC_KEY_get0_group(v7); if ( !v8 ) return 57; curve_name = EC_GROUP_get_curve_name(v8); if ( curve_name == 715 ) { v10 = v6 == (_BYTE *)&stru_30C.st_shndx + 1; if ( v6 != (_BYTE *)&stru_30C.st_shndx + 1 ) v10 = v6 + 1 == nullptr; if ( !v10 ) return 59; if ( (a3 & 0x20000) != 0 ) return 0; else return 60; } else { if ( curve_name != 415 ) return 58; v11 = v6 == (char *)&stru_30C.st_shndx; if ( v6 != (char *)&stru_30C.st_shndx ) v11 = v6 + 1 == nullptr; if ( !v11 ) return 59; if ( (a3 & 0x10000) != 0 ) return 0; else return 60; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source