// // i2d_PrivateKey from 0x108d8b4 to 0x108d94c (152 bytes) // // 5 xrefs: // > @ 0xf5fe0 // > PEM_write_bio_PrivateKey_traditional @ 0x1047304 // > i2d_PrivateKey_fp @ 0x106e82c // > i2d_PrivateKey_bio @ 0x106e910 // > @ 0x1547740 // // 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:17:16 +0000 // __int64 __fastcall i2d_PrivateKey(__int64 a1, __int64 a2) { __int64 v2; // x2 __int64 (*v4)(void); // x3 __int64 result; // x0 __int64 v6; // x20 unsigned int v7; // w19 v2 = *(_QWORD *)(a1 + 16); if ( !v2 ) goto LABEL_8; v4 = *(__int64 (**)(void))(v2 + 192); if ( v4 ) return v4(); if ( *(_QWORD *)(v2 + 72) ) { result = EVP_PKEY2PKCS8(a1); v6 = result; if ( result ) { v7 = i2d_PKCS8_PRIV_KEY_INFO(result, a2); PKCS8_PRIV_KEY_INFO_free(v6); return v7; } } else { LABEL_8: ERR_put_error(13, 163, 167, (__int64)"crypto/asn1/i2d_pr.c", 31); return 0xFFFFFFFFLL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source