//
// sub_AF747C from 0xaf747c to 0xaf74b8 (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:11:03 +0000
//
bool __fastcall sub_AF747C(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;
}