//
// SetupShaderEffectPopup::toggleGroup from 0x1404549f0 to 0x140454b10 (288 bytes)
//
// 4 xrefs:
// > ??> @ 0x1405f2aa0
// > ??> @ 0x1406a33a8
// > ??> @ 0x1406a33e0
// > ??> @ 0x1406da85c
//
// 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 SetupShaderEffectPopup::toggleGroup(SetupShaderEffectPopup *a1, int a2, bool a3)
{
BOOL v4; // ebp
cocos2d::CCArray *GroupContainer; // r15
unsigned int i; // edi
struct cocos2d::CCObject *v7; // rbx
int v8; // eax
struct cocos2d::CCObject *v9; // rax
struct cocos2d::CCObject *v10; // rsi
cocos2d::CCObject_vtbl *v11; // rbx
unsigned __int8 v12; // al
v4 = a3;
GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a2);
GroupContainer->setTag(GroupContainer, v4);
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, v4);
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);
}
}
if ( a1->getValue(a1, 513) == 0.0 )
SetupTriggerPopup::toggleDisableButtons(a1, 0);
else
SetupTriggerPopup::toggleDisableButtons(a1, 1);
}