//
// ossl_statem_set_error from 0x79ed80 to 0x79ed8c (12 bytes)
//
// 45 xrefs:
// > sub_79ED8C @ 0x79f504
// > sub_79ED8C @ 0x79f5c4
// > sub_79ED8C @ 0x79f644
// > ossl_statem_client_pre_work @ 0x7a0588
// > tls_construct_client_hello @ 0x7a0754
// > dtls_process_hello_verify @ 0x7a0b94
// > tls_process_server_hello @ 0x7a0c98
// > tls_process_server_certificate @ 0x7a1370
// > tls_process_certificate_request @ 0x7a17cc
// > tls_process_new_session_ticket @ 0x7a1e04
// > tls_process_cert_status @ 0x7a2064
// > tls_construct_client_key_exchange @ 0x7a237c
// > tls_construct_client_certificate @ 0x7a2f04
// > tls_process_key_exchange @ 0x7a32ac
// > tls_process_server_done @ 0x7a4158
// > tls_process_server_done @ 0x7a4194
// > tls_process_server_done @ 0x7a41d0
// > tls_prepare_client_certificate @ 0x7a4624
// > tls_process_change_cipher_spec @ 0x7a648c
// > tls_process_finished @ 0x7a6620
// > ossl_statem_server_pre_work @ 0x7a8530
// > ossl_statem_server_post_work @ 0x7a8614
// > tls_construct_hello_request @ 0x7a8754
// > dtls_construct_hello_verify_request @ 0x7a8814
// > tls_process_client_hello @ 0x7a88c8
// > tls_post_process_client_hello @ 0x7a9bd4
// > tls_construct_server_hello @ 0x7a9d98
// > tls_construct_server_hello @ 0x7a9e88
// > tls_construct_server_hello @ 0x7a9ebc
// > tls_construct_server_hello @ 0x7a9f04
// > tls_construct_server_done @ 0x7a9f98
// > tls_construct_server_done @ 0x7a9fc4
// > tls_construct_server_key_exchange @ 0x7aa370
// > tls_construct_certificate_request @ 0x7aaea8
// > tls_process_client_key_exchange @ 0x7aaff4
// > tls_post_process_client_key_exchange @ 0x7abd14
// > tls_post_process_client_key_exchange @ 0x7abd48
// > tls_process_cert_verify @ 0x7abe78
// > tls_process_client_certificate @ 0x7ac2c8
// > tls_construct_server_certificate @ 0x7ac700
// > tls_construct_server_certificate @ 0x7ac734
// > tls_construct_new_session_ticket @ 0x7ac814
// > tls_construct_cert_status @ 0x7acd84
// > tls_process_next_proto @ 0x7acea0
// > ??> @ 0x5cd6c
//
// 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 ossl_statem_set_error(int result)
{
*(_DWORD *)(result + 44) = 1;
return result;
}