// // ssl_parse_clienthello_tlsext from 0xfd8440 to 0xfd8560 (288 bytes) // // 2 xrefs: // > tls_process_client_hello @ 0xfcf1e8 // > @ 0x64c48 // // 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:33 +0000 // __int64 __fastcall ssl_parse_clienthello_tlsext(__int64 a1, unsigned __int8 **a2) { __int64 v3; // x0 __int64 v4; // x0 __int64 (__fastcall *v5)(__int64, unsigned int *, _QWORD); // x3 int v6; // w0 unsigned int v9; // [xsp+48h] [xbp+48h] BYREF unsigned int v10; // [xsp+4Ch] [xbp+4Ch] BYREF v3 = *(_QWORD *)(a1 + 328); v9 = -1; custom_ext_init((__int64 *)(v3 + 424)); if ( (int)sub_FD7964(a1, a2, &v9) <= 0 ) { ssl3_send_alert(a1, 2, v9); return 0; } else { v4 = *(_QWORD *)(a1 + 440); v10 = 112; if ( !v4 || (v5 = *(__int64 (__fastcall **)(__int64, unsigned int *, _QWORD))(v4 + 448)) == nullptr ) { v4 = *(_QWORD *)(a1 + 720); if ( !v4 ) goto LABEL_11; v5 = *(__int64 (__fastcall **)(__int64, unsigned int *, _QWORD))(v4 + 448); if ( !v5 ) goto LABEL_11; } v6 = v5(a1, &v10, *(_QWORD *)(v4 + 456)); if ( v6 != 2 ) { if ( v6 != 3 ) { if ( v6 == 1 ) ssl3_send_alert(a1, 1, v10); return 1; } LABEL_11: *(_DWORD *)(a1 + 560) = 0; return 1; } ssl3_send_alert(a1, 2, v10); ERR_put_error(20, 302, 226, "ssl/t1_lib.c", 2371); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source