//
// sub_1004E691C from 0x1004e691c to 0x1004e6938 (28 bytes)
//
// 7 xrefs:
// > sub_10048C2DC @ 0x10048c48c
// > sub_10048C2DC @ 0x10048c76c
// > sub_10048C2DC @ 0x10048cabc
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x10048df98
// > sub_10048E0D0 @ 0x10048e27c
// > sub_10048E0D0 @ 0x10048e574
// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x10048fa44
//
// 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:06:40 +0000
//
__int64 __fastcall sub_1004E691C(int a1)
{
if ( a1 == 1 )
return 2;
else
return 4 * (unsigned int)(a1 == 2);
}