// // SSL_use_RSAPrivateKey_file from 0xfc29cc to 0xfc2b4c (384 bytes) // // 1 xrefs: // > @ 0x74920 // // 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:15:22 +0000 // __int64 __fastcall SSL_use_RSAPrivateKey_file(__int64 a1, __int64 a2, int a3) { __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x19 __int64 bio_RSAPrivateKey; // x21 __int64 v11; // x2 unsigned int v12; // w20 v6 = BIO_s_file(); v7 = BIO_new(v6); v8 = v7; if ( v7 ) { if ( (int)BIO_ctrl(v7, 108, 3, a2) <= 0 ) { ERR_put_error(20, 206, 2, "ssl/ssl_rsa.c", 181); goto LABEL_6; } if ( a3 == 2 ) { bio_RSAPrivateKey = d2i_RSAPrivateKey_bio(v8, 0); v11 = 13; } else { if ( a3 != 1 ) { ERR_put_error(20, 206, 124, "ssl/ssl_rsa.c", 194); LABEL_6: BIO_free(v8); return 0; } bio_RSAPrivateKey = PEM_read_bio_RSAPrivateKey( v8, 0, *(_QWORD *)(*(_QWORD *)(a1 + 440) + 168LL), *(_QWORD *)(*(_QWORD *)(a1 + 440) + 176LL)); v11 = 9; } if ( !bio_RSAPrivateKey ) { ERR_put_error(20, 206, v11, "ssl/ssl_rsa.c", 198); goto LABEL_6; } v12 = SSL_use_RSAPrivateKey(a1, bio_RSAPrivateKey); RSA_free(bio_RSAPrivateKey); BIO_free(v8); return v12; } else { ERR_put_error(20, 206, 7, "ssl/ssl_rsa.c", 176); BIO_free(0); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source