//
// ossl_statem_server_process_message from 0x7acf58 to 0x7acfc4 (108 bytes)
//
// 4 xrefs:
// > sub_79ED8C @ 0x79f478
// > ??> @ 0x5ceec
// > sub_79ED8C @ 0x79f0b0
// > ??> @ 0xab8534
//
// 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_server_process_message(int *a1, unsigned __int8 **a2)
{
int result; // r0
switch ( a1[16] )
{
case 20:
result = tls_process_client_hello((int)a1, a2);
break;
case 27:
result = tls_process_client_certificate(a1, a2);
break;
case 28:
result = tls_process_client_key_exchange(a1, a2);
break;
case 29:
result = tls_process_cert_verify(a1, (int *)a2);
break;
case 30:
result = tls_process_next_proto((int)a1, a2);
break;
case 31:
result = tls_process_change_cipher_spec(a1, (int)a2);
break;
case 32:
result = tls_process_finished(a1, a2);
break;
default:
result = 0;
break;
}
return result;
}