//
// UIObjectSettingsPopup::onCustomToggleTriggerValue from 0x6b2e5a to 0x6b2f12 (184 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:40 +0000
//
CCMenuItemToggler *__fastcall UIObjectSettingsPopup::onCustomToggleTriggerValue(
cocos2d::CCDictionary **this,
cocos2d::CCObject *a2)
{
int v3; // r4
float v4; // s15
cocos2d::CCDictionary **v5; // r0
int v6; // r1
v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (float)v3;
if ( v3 <= 4 )
{
SetupTriggerPopup::updateValue(this, 385, v4);
SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v3 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v3 == 2);
SetupTriggerPopup::updateCustomToggleTrigger(this, 3, v3 == 3);
v5 = this;
v6 = 4;
}
else
{
SetupTriggerPopup::updateValue(this, 386, v4);
SetupTriggerPopup::updateCustomToggleTrigger(this, 5, v3 == 5);
SetupTriggerPopup::updateCustomToggleTrigger(this, 6, v3 == 6);
SetupTriggerPopup::updateCustomToggleTrigger(this, 7, v3 == 7);
v5 = this;
v6 = 8;
}
return SetupTriggerPopup::updateCustomToggleTrigger(v5, v6, v3 == v6);
}