// // i2d_PrivateKey from 0xa7c074 to 0xa7c108 (148 bytes) // // 5 xrefs: // > @ 0x7eedc // > PEM_write_bio_PrivateKey_traditional @ 0xa382c0 // > i2d_PrivateKey_fp @ 0xa5d670 // > i2d_PrivateKey_bio @ 0xa5d77c // > @ 0xd1d6b0 // // 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:46 +0000 // int __fastcall i2d_PrivateKey(int a1, int a2) { int v2; // r3 int (*v3)(void); // r2 int v6; // r0 int v7; // r5 int v8; // r4 v2 = *(_DWORD *)(a1 + 12); if ( !v2 ) goto LABEL_8; v3 = *(int (**)(void))(v2 + 100); if ( v3 ) return v3(); if ( *(_DWORD *)(v2 + 40) ) { v6 = EVP_PKEY2PKCS8(a1); v7 = v6; if ( v6 ) { v8 = i2d_PKCS8_PRIV_KEY_INFO(v6, a2); PKCS8_PRIV_KEY_INFO_free(v7); return v8; } else { return 0; } } else { LABEL_8: ERR_put_error(13, 163, 167, (int)"crypto/asn1/i2d_pr.c", 31); return -1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source