//
// SetupTriggerPopup::toggleLimitArrowValue from 0xb24e28 to 0xb24e98 (112 bytes)
//
// 6 xrefs:
// > AutoSaveSettingsLayer::init @ 0xbca5f8
// > AutoSaveSettingsLayer::init @ 0xbcaa78
// > AutoBackupOptionsPopup::init @ 0xc56bc8
// > MoveStepPopup::onBuildWindowContent @ 0xc614a0
// > GridSettingsLayer::onBuildWindowContent @ 0xcdc64c
// > ??> @ 0x57c10
//
// 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 13:01:38 +0000
//
__int64 __fastcall SetupTriggerPopup::toggleLimitArrowValue(__int64 **this, int a2, char a3)
{
__int64 result; // x0
int v5[3]; // [xsp+2Ch] [xbp+2Ch] BYREF
int *v6; // [xsp+40h] [xbp+40h] BYREF
v5[0] = a2;
v6 = v5;
result = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__emplace_unique_key_args,std::tuple<>>(
this + 110,
v5,
(__int64)&unk_1187080,
&v6);
*(_BYTE *)(result + 32) = a3;
return result;
}