//
// sub_10047542C from 0x10047542c to 0x10047546c (64 bytes)
//
// 1 xrefs:
// > sub_100041E60 @ 0x100041e88
//
// 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:05:40 +0000
//
__int64 __fastcall sub_10047542C(__int64 a1, __int64 a2)
{
__int64 result; // x0
*(_BYTE *)(a2 + 1768) ^= 1u;
result = sub_1003FF5D8(*(_QWORD *)(a1 + 1440), a2, 0);
if ( (_DWORD)result )
*(_BYTE *)(a1 + 869) = 1;
return result;
}