//
// sub_1001AD470 from 0x1001ad470 to 0x1001ad4b8 (72 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createMultiTriggerItems @ 0x1001acfd4
// > sub_10045A37C @ 0x10045b668
// > sub_10049E474 @ 0x10049f110
//
// 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:00:06 +0000
//
__int64 __fastcall sub_1001AD470(__int64 a1)
{
char v2; // w8
v2 = *(_BYTE *)(a1 + 696);
*(_BYTE *)(a1 + 696) = v2 ^ 1;
if ( (v2 & 1) == 0 )
{
*(_BYTE *)(a1 + 697) = 0;
sub_1001AD758(a1);
CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 712), *(unsigned __int8 *)(a1 + 697));
}
return sub_1001AD7C8(a1);
}