//
// sub_10036D1A0 from 0x10036d1a0 to 0x10036d220 (128 bytes)
//
// 2 xrefs:
// > sub_100369218 @ 0x10036a2cc
// > sub_100369218 @ 0x10036a3c0
//
// 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:03:21 +0000
//
__int64 __fastcall sub_10036D1A0(__int64 a1, __int64 a2)
{
int v3; // w20
_BOOL8 v4; // x1
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
sub_10036EA40(a1, 62, 0, (float)v3);
CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 872), v3 == 0);
CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 880), v3 == 1);
v4 = (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1592LL))(*(_QWORD *)(a1 + 712)) == 0;
return sub_10036E414(a1, v4);
}