//
// sub_1005E871C from 0x1005e871c to 0x1005e8750 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009ac090
//
// 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 11:09:44 +0000
//
__int64 __fastcall sub_1005E871C(_DWORD *a1, int a2)
{
unsigned int v3; // w9
if ( atomic_load(a1 + 68) )
{
v3 = atomic_load(a1 + 68);
if ( v3 != 7 )
return 46;
}
a1[100] = a2;
a1[21] = a2;
return 0;
}