//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0x6ad992 to 0x6ada08 (118 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:37 +0000
//
CCMenuItemToggler *__fastcall SetupKeyframePopup::onCustomToggleTriggerValue(
cocos2d::CCDictionary **this,
cocos2d::CCObject *a2)
{
float v4; // s16
int v5; // r4
v4 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 536));
if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == (int)v4 )
v5 = 0;
else
v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
SetupTriggerPopup::updateValue(this, 536, (float)v5);
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v5 == 1);
return SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v5 == 2);
}