//
// SetupTriggerPopup::toggleLimitValue from 0x54648e to 0x5464a8 (26 bytes)
//
// 15 xrefs:
// > SetupSongTriggerPopup::init @ 0x5254e6
// > SetupSongTriggerPopup::init @ 0x5254f2
// > SetupSongTriggerPopup::init @ 0x525646
// > SetupOptionsTriggerPopup::init @ 0x5407ba
// > SetupSFXPopup::init @ 0x576528
// > SetupSFXPopup::init @ 0x576534
// > SetupSFXPopup::init @ 0x576540
// > SetupSFXPopup::init @ 0x576aea
// > SetupSFXPopup::init @ 0x576af6
// > SetupSFXPopup::init @ 0x576b02
// > SetupSFXEditPopup::init @ 0x5770aa
// > SetupSFXEditPopup::init @ 0x5772ec
// > SetupSFXEditPopup::init @ 0x5772f8
// > SetupItemCompareTriggerPopup::init @ 0x57bf20
// > SetupItemCompareTriggerPopup::init @ 0x57c17c
//
// 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 SetupTriggerPopup::toggleLimitValue(SetupTriggerPopup *a1, int a2, bool a3)
{
int v3; // [sp+4h] [bp-4h] BYREF
v3 = a2;
*(_BYTE *)std::map::operator[](&a1->m_shouldLimitValues.compare.pad, &v3, a3) = a3;
}