//
// sub_808850 from 0x808850 to 0x80889c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0xa32318
//
// 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 sub_808850(int a1, int a2)
{
int v3; // r5
int v4; // r0
v3 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 20);
v4 = EVP_MD_CTX_test_flags(a2, -257);
HMAC_CTX_set_flags(v3, v4);
EVP_MD_CTX_set_flags(a2, 256);
EVP_MD_CTX_set_update_fn(a2, (int)sub_8088A0);
return 1;
}