//
// sub_10053C6C0 from 0x10053c6c0 to 0x10053c70c (76 bytes)
//
// 6 xrefs:
// > sub_10053C650 @ 0x10053c654
// > sub_10053C658 @ 0x10053c65c
// > sub_10053C660 @ 0x10053c664
// > sub_10053C668 @ 0x10053c66c
// > sub_10053C670 @ 0x10053c674
// > sub_10053C678 @ 0x10053c67c
//
// 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:07:40 +0000
//
__int64 __fastcall sub_10053C6C0(__int64 a1, __int16 a2)
{
__int64 v3; // x20
__int64 v4; // x0
int IntGameVariable; // w0
__int16 v6; // w8
v3 = GameLevelManager::sharedState();
v4 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v4, "0239");
v6 = IntGameVariable;
if ( !IntGameVariable )
v6 = -1;
return sub_1000C7320(v3, v6 ^ a2);
}