//
// sub_EF9594 from 0xef9594 to 0xef95d4 (64 bytes)
//
// 1 xrefs:
// > sub_EFBE48 @ 0xefbefc
//
// 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:12:15 +0000
//
__int64 __fastcall sub_EF9594(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);
}