// // tls_process_server_done from 0xfca424 to 0xfca5f0 (460 bytes) // // 2 xrefs: // > ossl_statem_client_process_message @ 0xfca640 // > @ 0x5a7c0 // // 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:26 +0000 // __int64 __fastcall tls_process_server_done(__int64 a1, __int64 a2) { __int64 v3; // x0 __int64 (__fastcall *v4)(__int64, _QWORD); // x2 int v5; // w0 if ( *(_QWORD *)(a2 + 8) ) { ssl3_send_alert(a1, 2, 0x32u); ERR_put_error(20, 368, 159, "ssl/statem/statem_clnt.c", 2015); ossl_statem_set_error(a1); return 0; } if ( (*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 144) + 552LL) + 20LL) & 0x20) != 0 && (int)SRP_Calc_A_param() <= 0 ) { ERR_put_error(20, 368, 361, "ssl/statem/statem_clnt.c", 2022); ssl3_send_alert(a1, 2, 0x50u); ossl_statem_set_error(a1); return 0; } if ( !(unsigned int)ssl3_check_cert_and_algorithm(a1) ) { ssl3_send_alert(a1, 2, 0x28u); ossl_statem_set_error(a1); return 0; } if ( *(_DWORD *)(a1 + 564) == -1 ) goto LABEL_10; v3 = *(_QWORD *)(a1 + 440); v4 = *(__int64 (__fastcall **)(__int64, _QWORD))(v3 + 552); if ( !v4 ) goto LABEL_10; v5 = v4(a1, *(_QWORD *)(v3 + 560)); if ( !v5 ) { ssl3_send_alert(a1, 2, 0x71u); ERR_put_error(20, 368, 328, "ssl/statem/statem_clnt.c", 2052); return 0; } if ( v5 < 0 ) { ssl3_send_alert(a1, 2, 0x50u); ERR_put_error(20, 368, 65, "ssl/statem/statem_clnt.c", 2057); return 0; } else { LABEL_10: if ( *(_QWORD *)(a1 + 568) && !(unsigned int)ssl_validate_ct(a1) && (*(_DWORD *)(a1 + 392) & 1) != 0 ) { ssl3_send_alert(a1, 2, 0x28u); return 0; } else { return 1; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source