//
// SetupPickupTriggerPopup::onCustomToggleTriggerValue from 0xa9fc20 to 0xa9fcc8 (168 bytes)
//
// 2 xrefs:
// > ??> @ 0xcfe38
// > ??> @ 0x14a0b80
//
// 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:00:47 +0000
//
__int64 __fastcall SetupPickupTriggerPopup::onCustomToggleTriggerValue(
SetupPickupTriggerPopup *this,
cocos2d::CCObject *a2)
{
int v3; // w20
bool v4; // w2
bool v5; // w21
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
if ( v3 == (int)(*(float (__fastcall **)(SetupPickupTriggerPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 88) )
{
v5 = 0;
v4 = 0;
v3 = 0;
}
else
{
v4 = v3 == 1;
v5 = v3 == 2;
}
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v4);
SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v5);
SetupTriggerPopup::updateValue(this, 88, (float)v3);
return SetupPickupTriggerPopup::updateState(this);
}