// // EVP_PKEY2PKCS8 from 0x1029010 to 0x1029104 (244 bytes) // // 5 xrefs: // > i2d_PKCS8PrivateKeyInfo_fp @ 0x106e7e0 // > i2d_PKCS8PrivateKeyInfo_bio @ 0x106e8c4 // > i2d_PrivateKey @ 0x108d8ec // > sub_10E2EF8 @ 0x10e2f34 // > @ 0xe6b30 // // 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:15 +0000 // __int64 __fastcall EVP_PKEY2PKCS8(__int64 a1) { __int64 v2; // x19 __int64 v3; // x2 unsigned int (*v4)(void); // x2 v2 = PKCS8_PRIV_KEY_INFO_new(); if ( !v2 ) { ERR_put_error(6, 113, 65, (__int64)"crypto/evp/evp_pkey.c", 65); return 0; } v3 = *(_QWORD *)(a1 + 16); if ( !v3 ) { ERR_put_error(6, 113, 118, (__int64)"crypto/evp/evp_pkey.c", 80); goto LABEL_8; } v4 = *(unsigned int (**)(void))(v3 + 72); if ( !v4 ) { ERR_put_error(6, 113, 144, (__int64)"crypto/evp/evp_pkey.c", 76); goto LABEL_8; } if ( !v4() ) { ERR_put_error(6, 113, 146, (__int64)"crypto/evp/evp_pkey.c", 72); LABEL_8: PKCS8_PRIV_KEY_INFO_free(v2); return 0; } RAND_add(*(_QWORD *)(*(_QWORD *)(v2 + 16) + 8LL), **(unsigned int **)(v2 + 16), 0.0); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source