// // X509_get_pubkey_parameters from 0xa588c8 to 0xa589d4 (268 bytes) // // 5 xrefs: // > sub_A589E0 @ 0xa58cbc // > sub_A589E0 @ 0xa59734 // > X509_verify_cert @ 0xa59dfc // > X509_verify_cert @ 0xa59e90 // > @ 0x8100c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:27 +0000 // int __fastcall X509_get_pubkey_parameters(_DWORD *a1, _DWORD *a2) { signed int v4; // r4 int *v5; // r6 int v6; // r0 int v7; // r0 signed int v8; // r4 int v9; // r0 _DWORD *v10; // r0 if ( !a1 || EVP_PKEY_missing_parameters((int)a1) ) { v4 = 0; v5 = nullptr; while ( v4 < OPENSSL_sk_num((int)a2) ) { v6 = OPENSSL_sk_value(a2, v4); v7 = X509_get0_pubkey(v6); v5 = (int *)v7; if ( !v7 ) { ERR_put_error(11, 110, 108, (int)"crypto/x509/x509_vfy.c", 1912); return 0; } if ( !EVP_PKEY_missing_parameters(v7) ) goto LABEL_9; ++v4; } if ( !v5 ) { ERR_put_error(11, 110, 107, (int)"crypto/x509/x509_vfy.c", 1920); return 0; } LABEL_9: v8 = v4 - 1; if ( v8 >= 0 ) { do { v9 = OPENSSL_sk_value(a2, v8); v10 = (_DWORD *)X509_get0_pubkey(v9); --v8; EVP_PKEY_copy_parameters(v10, v5); } while ( v8 != -1 ); } if ( a1 ) EVP_PKEY_copy_parameters(a1, v5); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source