//
// SetupTriggerPopup::toggleLimitValue from 0x10013378c to 0x1001337dc (80 bytes)
//
// 15 xrefs:
// > SetupSFXPopup::init @ 0x10017fdbc
// > SetupSFXPopup::init @ 0x10017fdcc
// > SetupSFXPopup::init @ 0x10017fddc
// > SetupSFXPopup::init @ 0x100180560
// > SetupSFXPopup::init @ 0x100180570
// > SetupSFXPopup::init @ 0x100180580
// > SetupSFXEditPopup::init @ 0x100181438
// > SetupSFXEditPopup::init @ 0x100181920
// > SetupSFXEditPopup::init @ 0x100181930
// > SetupSongTriggerPopup::init @ 0x1001c2d20
// > SetupSongTriggerPopup::init @ 0x1001c2d30
// > SetupSongTriggerPopup::init @ 0x1001c2e9c
// > SetupItemCompareTriggerPopup::init @ 0x10040d928
// > SetupItemCompareTriggerPopup::init @ 0x10040dc14
// > SetupOptionsTriggerPopup::init @ 0x100413ad0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupTriggerPopup::toggleLimitValue(SetupTriggerPopup *a1, int a2, bool a3)
{
int v3; // [xsp+0h] [xbp-20h] BYREF
int *v4; // [xsp+8h] [xbp-18h] BYREF
v3 = a2;
v4 = &v3;
*((_BYTE *)sub_1000FE7D8((__int64)&a1->m_shouldLimitValues, &v3, (__int64)&unk_100637F00, &v4) + 32) = a3;
}