//
// sub_8E247C from 0x8e247c to 0x8e24b8 (60 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall sub_8E247C(unsigned __int8 *a1, int a2, unsigned __int8 a3)
{
int v3; // r12
__dmb(0xFu);
do
v3 = __ldrex(a1);
while ( v3 == (unsigned __int8)a2 && __strex(a3, a1) );
__dmb(0xFu);
return a2 == (char)v3;
}