// // SetupPulsePopup::onGroupSecondaryOnly from 0x1003ae260 to 0x1003ae385 (293 bytes) // // 1 xrefs: // > SetupPulsePopup::init @ 0x1003ac01c // // 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 SetupPulsePopup::onGroupSecondaryOnly(SetupPulsePopup *a1, cocos2d::CCObject *a2) { bool m_groupSecondaryOnly; // al EffectGameObject *m_gameObject; // rax EffectGameObject *v5; // rax cocos2d::CCArray *v6; // rdi unsigned int v7; // r14d cocos2d::CCArray *m_gameObjects; // rdi unsigned int v9; // r14d m_groupSecondaryOnly = a1->m_groupSecondaryOnly; a1->m_groupSecondaryOnly = !m_groupSecondaryOnly; if ( __PAIR16__(m_groupSecondaryOnly, a1->m_groupMainOnly) == 1 ) { a1->m_groupMainOnly = 0; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_pulseMainOnly = 0; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v9 = 0; do *(_BYTE *)(sub_1007200C0(a1->m_gameObjects, v9++) + 1633) = a1->m_groupMainOnly; while ( v9 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } CCMenuItemToggler::toggle(a1->m_mainOnlyToggler, a1->m_groupMainOnly); } v5 = a1->m_gameObject; if ( v5 ) { v5->m_pulseDetailOnly = a1->m_groupSecondaryOnly; } else { v6 = a1->m_gameObjects; if ( v6 && (unsigned int)sub_100720070(v6) ) { v7 = 0; do *(_BYTE *)(sub_1007200C0(a1->m_gameObjects, v7++) + 1634) = a1->m_groupSecondaryOnly; while ( v7 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source