// // sub_9D0340 from 0x9d0340 to 0x9d03ec (172 bytes) // // 1 xrefs: // > @ 0xc77490 // // 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 // bool __fastcall sub_9D0340(int a1, char *a2) { _DWORD *v4; // r6 _BOOL4 v5; // r4 int v7; // r0 if ( !EC_curve_nist2nid(a2) && !OBJ_sn2nid(a2) ) return 0; v4 = (_DWORD *)EC_KEY_new_by_curve_name(); if ( !v4 ) return 0; if ( *(_DWORD *)(a1 + 12) ) { v5 = (int)SSL_CTX_ctrl(*(_DWORD **)(a1 + 12), 4, 0, (int)v4) > 0; } else { v7 = *(_DWORD *)(a1 + 16); if ( v7 ) v5 = SSL_ctrl(v7, 4, 0, v4) > 0; else v5 = 1; } EC_KEY_free(v4); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source