// // sub_9CFEE0 from 0x9cfee0 to 0x9cffd0 (240 bytes) // // 1 xrefs: // > @ 0xc77590 // // 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:07:11 +0000 // int __fastcall sub_9CFEE0(int a1, int a2) { int v4; // r0 int v5; // r0 int v6; // r6 _DWORD *bio_DHparams; // r5 _DWORD *v8; // r0 _DWORD *v9; // r2 int v10; // r0 _BOOL4 v11; // r4 if ( !*(_DWORD *)(a1 + 12) && !*(_DWORD *)(a1 + 16) ) return 1; v4 = BIO_s_file(a1); v5 = BIO_new(v4); v6 = v5; if ( v5 && BIO_ctrl(v5, 108, 3, a2) > 0 && (bio_DHparams = (_DWORD *)PEM_read_bio_DHparams(v6, 0, 0, 0)) != nullptr ) { v8 = *(_DWORD **)(a1 + 12); if ( v8 ) v9 = SSL_CTX_ctrl(v8, 3, 0, (int)bio_DHparams); else v9 = nullptr; v10 = *(_DWORD *)(a1 + 16); if ( v10 ) v11 = SSL_ctrl(v10, 3, 0, bio_DHparams) > 0; else v11 = (int)v9 > 0; } else { v11 = 0; bio_DHparams = nullptr; } DH_free(bio_DHparams); BIO_free(v6); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source