//
// sub_EF9500 from 0xef9500 to 0xef952c (44 bytes)
//
// 1 xrefs:
// > sub_EFBE48 @ 0xefbec0
//
// 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_EF9500(int a1, int *a2)
{
int v2; // w3
unsigned int v3; // w1
v2 = *a2;
v3 = (a2[1] & a1) + (((a2[1] ^ a1) & 0xFEFEFEFE) >> 1);
return (v3 & v2) + (((v3 ^ v2) & 0xFEFEFEFE) >> 1);
}