// // sub_7BC074 from 0x7bc074 to 0x7bc1a4 (304 bytes) // // 1 xrefs: // > @ 0xa30240 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_7BC074(_DWORD *a1, const char *a2) { int **v2; // r3 int *v3; // r5 int v4; // r6 int v6; // r0 char *v8; // r1 int v9; // r3 v2 = (int **)a1[3]; v3 = (int *)a1[15]; if ( !v2 ) { v9 = a1[4]; if ( !v9 ) return 0; v2 = *(int ***)(v9 + 276); } v4 = **v2; v6 = strcmp("None", a2); if ( v6 ) { if ( !strcmp("SSLv3", a2) ) { v6 = 1; } else if ( !strcmp("TLSv1", a2) ) { v6 = 2; } else if ( !strcmp("TLSv1.1", a2) ) { v6 = 3; } else if ( !strcmp("TLSv1.2", a2) ) { v6 = 4; } else if ( !strcmp("DTLSv1", a2) ) { v6 = 5; } else { if ( strcmp("DTLSv1.2", a2) ) return 0; v6 = 6; } } v8 = (&off_A2FFA0)[2 * v6 + 225]; if ( (int)v8 < 0 ) return 0; return ssl_set_version_bound(v4, (int)v8, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source