// // ssl3_get_req_cert_type from 0xfb626c to 0xfb6384 (280 bytes) // // 2 xrefs: // > tls_construct_certificate_request @ 0xfd0904 // > @ 0xb2888 // // 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:15 +0000 // __int64 __fastcall ssl3_get_req_cert_type(__int64 a1, _BYTE *a2) { __int64 v2; // x2 const void *v4; // x20 __int64 result; // x0 int v7; // w0 int v8; // w0 int v9; // w2 char v10; // w1 int v11; // [xsp+3Ch] [xbp+3Ch] BYREF v2 = *(_QWORD *)(a1 + 328); v4 = *(const void **)(v2 + 312); v11 = 0; if ( v4 ) { memcpy(a2, v4, *(_QWORD *)(v2 + 320)); return *(unsigned int *)(*(_QWORD *)(a1 + 328) + 320LL); } ssl_set_sig_mask(&v11, a1, 327694); v7 = *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 144) + 552LL) + 20LL); if ( *(int *)a1 > 768 ) { if ( (v7 & 0x10) != 0 ) { *a2 = 22; a2[1] = -18; a2[2] = -17; return 3; } } else if ( *(_DWORD *)a1 == 768 && (v7 & 2) != 0 ) { v4 = dword_0 + 2; *a2 = 5; v9 = 2; a2[1] = 6; v8 = 3; goto LABEL_7; } v8 = 1; v9 = 0; LABEL_7: v10 = v11; if ( (v11 & 1) == 0 ) { v9 = v8; *((_BYTE *)v4 + (_QWORD)a2) = 1; } if ( (v10 & 2) == 0 ) a2[v9++] = 2; result = (unsigned int)v9; if ( *(int *)a1 > 768 && (v10 & 8) == 0 ) { a2[v9] = 64; return (unsigned int)(v9 + 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source