//
// SetupTriggerPopup::updateToggleItem from 0x10023def0 to 0x10023df95 (165 bytes)
//
// 103 xrefs:
// > SetupGradientPopup::updateToggleItem @ 0x1005f329a
// > ??> @ 0x1008af2e8
// > ??> @ 0x1008afae0
// > ??> @ 0x1008b2580
// > ??> @ 0x1008b2d78
// > ??> @ 0x1008b5060
// > ??> @ 0x1008b6010
// > ??> @ 0x1008da110
// > ??> @ 0x1008db000
// > ??> @ 0x1008db7e0
// > ??> @ 0x1008e2ba8
// > ??> @ 0x1008edfa0
// > ??> @ 0x1008ee7b0
// > ??> @ 0x1008f6a50
// > ??> @ 0x1008f8ae8
// > ??> @ 0x1008fccd0
// > ??> @ 0x1008fdbd8
// > ??> @ 0x1008fe3d0
// > ??> @ 0x1008febe0
// > ??> @ 0x1008ffca8
// > ??> @ 0x1009025a0
// > ??> @ 0x100902dc8
// > ??> @ 0x1009035c0
// > ??> @ 0x100904830
// > ??> @ 0x1009055c8
// > ??> @ 0x100905dc0
// > ??> @ 0x1009065b8
// > ??> @ 0x1009075f8
// > ??> @ 0x100908108
// > ??> @ 0x100909088
// > ??> @ 0x10090d9b0
// > ??> @ 0x10090e1f8
// > ??> @ 0x10090e9f0
// > ??> @ 0x100911ab0
// > ??> @ 0x100912ee8
// > ??> @ 0x100917810
// > ??> @ 0x10091abd8
// > ??> @ 0x10091e7d8
// > ??> @ 0x10091f400
// > ??> @ 0x100920b98
// > ??> @ 0x100921390
// > ??> @ 0x100921b88
// > ??> @ 0x1009230c8
// > ??> @ 0x1009252c0
// > ??> @ 0x100925ab8
// > ??> @ 0x1009262b0
// > ??> @ 0x100928f30
// > ??> @ 0x10092fa10
// > ??> @ 0x1009328f8
// > ??> @ 0x1009470f0
// > ??> @ 0x10094b2d8
// > ??> @ 0x10094bad0
// > ??> @ 0x10094c2c8
// > ??> @ 0x10094cb60
// > ??> @ 0x10094d3f8
// > ??> @ 0x10094dbf0
// > ??> @ 0x10094fec0
// > ??> @ 0x100951b50
// > ??> @ 0x100952348
// > ??> @ 0x100952b40
// > ??> @ 0x100953338
// > ??> @ 0x100953b30
// > ??> @ 0x100954370
// > ??> @ 0x100954b68
// > ??> @ 0x100955a50
// > ??> @ 0x1009591e8
// > ??> @ 0x10095a208
// > ??> @ 0x10095b1c8
// > ??> @ 0x10095b9c0
// > ??> @ 0x10095d018
// > ??> @ 0x10095d968
// > ??> @ 0x100966380
// > ??> @ 0x100966b60
// > ??> @ 0x100967370
// > ??> @ 0x100967b68
// > ??> @ 0x100968360
// > ??> @ 0x100968b58
// > ??> @ 0x100969350
// > ??> @ 0x100969b48
// > ??> @ 0x10096a380
// > ??> @ 0x10096ab78
// > ??> @ 0x10096b3b0
// > ??> @ 0x10096bba8
// > ??> @ 0x10096c3a0
// > ??> @ 0x10096cb98
// > ??> @ 0x10096d390
// > ??> @ 0x10096db88
// > ??> @ 0x10096e380
// > ??> @ 0x10096eb78
// > ??> @ 0x10096f370
// > ??> @ 0x10096fb68
// > ??> @ 0x100971178
// > ??> @ 0x1009776f0
// > ??> @ 0x100977ee8
// > ??> @ 0x100978df0
// > ??> @ 0x10097f858
// > ??> @ 0x100987848
// > ??> @ 0x100988040
// > ??> @ 0x100988868
// > ??> @ 0x100989060
// > ??> @ 0x10098ae48
// > ??> @ 0x10098d6f8
// > ??> @ 0x10098def0
//
// 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 SetupTriggerPopup::updateToggleItem(SetupTriggerPopup *a1, int a2, bool a3)
{
cocos2d::CCDictionary *m_triggerValues; // r12
float *v5; // r15
CCMenuItemToggler *v6; // rax
m_triggerValues = a1->m_triggerValues;
v5 = (float *)operator new(0x40u);
cocos2d::CCObject::CCObject(v5);
*(_QWORD *)v5 = off_1008E2E78;
v5[14] = (float)a3;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
cocos2d::CCDictionary::setObject(m_triggerValues, (cocos2d::CCObject *)v5, a2);
v6 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, a2);
if ( v6 )
CCMenuItemToggler::toggle(v6, a3);
}