// // SSL_get_shared_ciphers from 0x9acebc to 0x9acf94 (216 bytes) // // 1 xrefs: // > @ 0x7589c // // 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:06:54 +0000 // _BYTE *__fastcall SSL_get_shared_ciphers(int a1, _BYTE *a2, int a3) { int v3; // r3 int v4; // r8 signed int v5; // r7 bool v6; // cc int v7; // r5 _BYTE *v9; // r6 const char *v10; // r11 signed int v11; // r4 _BYTE *v12; // r3 int v13; // r0 int v14; // r1 v3 = *(_DWORD *)(a1 + 240); if ( !v3 ) return nullptr; v4 = *(_DWORD *)(v3 + 180); v5 = a3; v6 = v4 <= 0; if ( v4 ) v6 = a3 <= 1; v7 = v6; if ( v6 || !OPENSSL_sk_num(*(_DWORD *)(v3 + 180)) ) return nullptr; v9 = a2; while ( 1 ) { v13 = OPENSSL_sk_num(v4); v14 = v7; v6 = v7++ < v13; if ( !v6 ) { *(v9 - 1) = 0; return a2; } v10 = *(const char **)(OPENSSL_sk_value(v4, v14) + 4); v11 = strlen(v10); if ( v5 <= v11 ) break; memcpy(v9, v10, v11 + 1); v12 = &v9[v11]; v9 += v11 + 1; v5 += ~v11; *v12 = 58; } if ( a2 != v9 ) --v9; *v9 = 0; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source