//
// sub_C833D4 from 0xc833d4 to 0xc83414 (64 bytes)
//
// 1 xrefs:
// > sub_C85C88 @ 0xc85d3c
//
// 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
//
__int64 __fastcall sub_C833D4(int a1, _DWORD *a2)
{
unsigned int v2; // w2
unsigned int v3; // w1
v2 = (a2[1] & *a2) + (((a2[1] ^ *a2) & 0xFEFEFEFE) >> 1);
v3 = (*(a2 - 1) & a1) + (((*(a2 - 1) ^ a1) & 0xFEFEFEFE) >> 1);
return (v2 & v3) + (((v2 ^ v3) & 0xFEFEFEFE) >> 1);
}