//
// SetupTriggerPopup::toggleGroup from 0x1404746b0 to 0x140474794 (228 bytes)
//
// 103 xrefs:
// > ??> @ 0x14053f548
// > ??> @ 0x14053fac8
// > ??> @ 0x140544d08
// > ??> @ 0x140568fe0
// > ??> @ 0x14056d020
// > ??> @ 0x14056f950
// > ??> @ 0x1405728d8
// > ??> @ 0x140573698
// > ??> @ 0x140575860
// > ??> @ 0x1405766e8
// > ??> @ 0x140578588
// > ??> @ 0x140578f70
// > ??> @ 0x14057a790
// > ??> @ 0x14057adc0
// > ??> @ 0x14057b2b8
// > ??> @ 0x14057bd90
// > ??> @ 0x14057d2b0
// > ??> @ 0x140586b20
// > ??> @ 0x14058e278
// > ??> @ 0x14058f410
// > ??> @ 0x1405d6af8
// > ??> @ 0x1405d7880
// > ??> @ 0x1405d7e20
// > ??> @ 0x1405d9378
// > ??> @ 0x1405d9810
// > ??> @ 0x1405d9f28
// > ??> @ 0x1405da648
// > ??> @ 0x1405dade8
// > ??> @ 0x1405dc270
// > ??> @ 0x1405dc708
// > ??> @ 0x1405dcc90
// > ??> @ 0x1405dd210
// > ??> @ 0x1405dd778
// > ??> @ 0x1405ddc88
// > ??> @ 0x1405de1b0
// > ??> @ 0x1405ded88
// > ??> @ 0x1405df408
// > ??> @ 0x1405dfc68
// > ??> @ 0x1405e03a0
// > ??> @ 0x1405e10b0
// > ??> @ 0x1405e1560
// > ??> @ 0x1405e1c30
// > ??> @ 0x1405e22c8
// > ??> @ 0x1405e2c30
// > ??> @ 0x1405e3398
// > ??> @ 0x1405e4098
// > ??> @ 0x1405e4a60
// > ??> @ 0x1405e51b8
// > ??> @ 0x1405e5888
// > ??> @ 0x1405e67d0
// > ??> @ 0x1405e6c90
// > ??> @ 0x1405e7590
// > ??> @ 0x1405e7a28
// > ??> @ 0x1405e8058
// > ??> @ 0x1405e8920
// > ??> @ 0x1405e9028
// > ??> @ 0x1405ea8d8
// > ??> @ 0x1405eafb8
// > ??> @ 0x1405eb800
// > ??> @ 0x1405ec128
// > ??> @ 0x1405ec7c0
// > ??> @ 0x1405ed230
// > ??> @ 0x1405ed8f8
// > ??> @ 0x1405edf68
// > ??> @ 0x1405ee830
// > ??> @ 0x1405ef788
// > ??> @ 0x1405efc48
// > ??> @ 0x1405f00e0
// > ??> @ 0x1405f0a20
// > ??> @ 0x1405f3198
// > ??> @ 0x1405f6c90
// > ??> @ 0x1405f76a8
// > ??> @ 0x1405f7e60
// > ??> @ 0x1405f8688
// > ??> @ 0x1405f8fa8
// > ??> @ 0x1405f97c8
// > ??> @ 0x1405f9c78
// > ??> @ 0x1405fa298
// > ??> @ 0x1405faae0
// > ??> @ 0x1405fb3a0
// > ??> @ 0x1405fd198
// > ??> @ 0x1405fd640
// > ??> @ 0x1405fde80
// > ??> @ 0x1405fe5d0
// > ??> @ 0x1405fec80
// > ??> @ 0x1405ff600
// > ??> @ 0x1405ffd70
// > ??> @ 0x140600308
// > ??> @ 0x140600848
// > ??> @ 0x140600cf8
// > ??> @ 0x140601540
// > ??> @ 0x140601aa0
// > ??> @ 0x140602038
// > ??> @ 0x140602540
// > ??> @ 0x1406029d8
// > ??> @ 0x140602ee8
// > ??> @ 0x140603438
// > ??> @ 0x140603c08
// > ??> @ 0x1406041d8
// > ??> @ 0x1406048e0
// > ??> @ 0x1406a5564
// > ??> @ 0x1406a5574
// > ??> @ 0x1406db468
//
// 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 SetupTriggerPopup::toggleGroup(SetupTriggerPopup *a1, int a2, bool a3)
{
BOOL v3; // r15d
cocos2d::CCArray *GroupContainer; // r14
unsigned int i; // esi
struct cocos2d::CCObject *v7; // rbx
int v8; // eax
struct cocos2d::CCObject *v9; // rax
struct cocos2d::CCObject *v10; // rdi
cocos2d::CCObject_vtbl *v11; // rbx
unsigned __int8 v12; // al
v3 = a3;
GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a2);
GroupContainer->setTag(GroupContainer, v3);
for ( i = 0; i < cocos2d::CCArray::count(GroupContainer); ++i )
{
v7 = cocos2d::CCArray::objectAtIndex(GroupContainer, i);
if ( !cocos2d::CCDictionary::objectForKey(a1->m_disabledEasingButtons, v7->m_uID) )
((void (__fastcall *)(struct cocos2d::CCObject *, BOOL))v7->__vftable[4].update)(v7, v3);
v8 = v7->getTag(v7);
v9 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, v8);
v10 = v9;
if ( v9 )
{
v11 = v9->__vftable;
v12 = ((__int64 (__fastcall *)(struct cocos2d::CCObject *))v9->__vftable[4].encodeWithCoder)(v9);
v11[12].encodeWithCoder(v10, (DS_Dictionary *)v12);
}
}
}