//
// SetupPickupTriggerPopup::onCustomToggleTriggerValue from 0x100043988 to 0x100043a58 (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x10076f450
//
// 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 SetupPickupTriggerPopup::onCustomToggleTriggerValue(SetupPickupTriggerPopup *a1, cocos2d::CCObject *a2)
{
int v3; // w20
float v4; // s0
_BOOL8 v5; // x20
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( v3 == (int)((float (__fastcall *)(SetupPickupTriggerPopup *, __int64))a1->getValue)(a1, 88) )
v3 = 0;
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2);
SetupTriggerPopup::updateValue(a1, 88, (float)v3);
v4 = ((float (__fastcall *)(SetupPickupTriggerPopup *, __int64))a1->getValue)(a1, 88);
v5 = v4 != 0.0;
((void (__fastcall *)(SetupPickupTriggerPopup *, __int64, bool))a1->toggleGroup)(a1, 1, v4 == 0.0);
((void (__fastcall *)(SetupPickupTriggerPopup *, __int64, _BOOL8))a1->toggleGroup)(a1, 2, v5);
}