// // X509_PUBKEY_set from 0x84a638 to 0x84a724 (236 bytes) // // 6 xrefs: // > SCT_validate @ 0x7dca68 // > SCT_validate @ 0x7dcb04 // > X509_set_pubkey @ 0x840a30 // > i2d_PUBKEY @ 0x84a874 // > X509_REQ_set_pubkey @ 0x8c37f8 // > @ 0x606dc // // 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_PUBKEY_set(int result, int a2) { _DWORD **v3; // r4 _DWORD *v4; // r6 int v5; // r3 int (*v6)(void); // r3 if ( result ) { v3 = (_DWORD **)result; v4 = X509_PUBKEY_new(); if ( !v4 ) { LABEL_7: X509_PUBKEY_free(v4); return 0; } v5 = *(_DWORD *)(a2 + 12); if ( !v5 ) { ERR_put_error(11, 120, 111, (int)"crypto/x509/x_pubkey.c", 81); goto LABEL_7; } v6 = *(int (**)(void))(v5 + 24); if ( !v6 ) { ERR_put_error(11, 120, 124, (int)"crypto/x509/x_pubkey.c", 77); goto LABEL_7; } if ( !v6() ) { ERR_put_error(11, 120, 126, (int)"crypto/x509/x_pubkey.c", 73); goto LABEL_7; } X509_PUBKEY_free(*v3); *v3 = v4; v4[2] = a2; EVP_PKEY_up_ref(a2); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source