//
// sub_E24B90 from 0xe24b90 to 0xe24bb0 (32 bytes)
//
// 5 xrefs:
// > sub_E1C978 @ 0xe1cc48
// > sub_E1C978 @ 0xe1cdf0
// > sub_E1DF14 @ 0xe1df3c
// > sub_E1F498 @ 0xe1fa7c
// > sub_E1F498 @ 0xe1fdc4
//
// 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:09:48 +0000
//
unsigned __int64 __fastcall sub_E24B90(__int64 a1, __int64 a2)
{
LODWORD(a2) = *(unsigned __int8 *)(a2 + 960);
if ( !(_DWORD)a2 )
return ((unsigned __int64)(unsigned int)(*(_DWORD *)(a1 + 12) & *(_DWORD *)(a1 + 16)) >> 5) & 1;
return (unsigned int)a2;
}