//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0xb69188 to 0xb69240 (184 bytes)
//
// 2 xrefs:
// > ??> @ 0x7e9e8
// > ??> @ 0x14c75a0
//
// 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:02:16 +0000
//
CCMenuItemToggler *__fastcall SetupKeyframePopup::onCustomToggleTriggerValue(
cocos2d::CCDictionary **this,
cocos2d::CCObject *a2)
{
int v4; // w0
float v5; // s0
unsigned __int8 v6; // w21
unsigned __int8 v7; // w20
float v9; // [xsp+30h] [xbp+30h]
v9 = COERCE_FLOAT(COERCE_UNSIGNED_INT128(((long double (__fastcall *)(cocos2d::CCDictionary **, __int64))*((_QWORD *)*this + 183))(this, 536)));
if ( (int)v9 == (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) )
{
v5 = 0.0;
v7 = 0;
v6 = 0;
}
else
{
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v5 = (float)v4;
v6 = v4 == 1;
v7 = v4 == 2;
}
SetupTriggerPopup::updateValue(this, 0x218u, v5);
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v6);
return SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v7);
}