//
// SetupGameplayOffsetPopup::onCustomToggleTriggerValue from 0x10019f6a4 to 0x10019f728 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007aae50
//
// 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 SetupGameplayOffsetPopup::onCustomToggleTriggerValue(
SetupGameplayOffsetPopup *a1,
cocos2d::CCObject *a2)
{
int v3; // w20
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( v3 == (int)((float (__fastcall *)(SetupGameplayOffsetPopup *, __int64))a1->getValue)(a1, 101) )
v3 = 0;
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2);
SetupTriggerPopup::updateValue(a1, 101, (float)v3);
}