// // PKCS7_add_certificate from 0x104cd4c to 0x104ce44 (248 bytes) // // 1 xrefs: // > @ 0x71428 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:37 +0000 // __int64 __fastcall PKCS7_add_certificate(__int64 a1, __int64 a2) { int v4; // w0 _QWORD *v5; // x21 __int64 v6; // x19 v4 = OBJ_obj2nid(*(_QWORD *)(a1 + 24)); if ( v4 == 22 || v4 == 24 ) { v5 = (_QWORD *)(*(_QWORD *)(a1 + 32) + 16LL); if ( !*v5 ) *v5 = OPENSSL_sk_new_null(0); v6 = *v5; if ( !*v5 ) { ERR_put_error(33, 100, 65, (__int64)"crypto/pkcs7/pk7_lib.c", 260); return (unsigned int)v6; } X509_up_ref(a2); if ( (unsigned int)OPENSSL_sk_push(*v5, a2) ) { LODWORD(v6) = 1; return (unsigned int)v6; } X509_free(a2); return 0; } else { ERR_put_error(33, 100, 113, (__int64)"crypto/pkcs7/pk7_lib.c", 253); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source