// // SetupPulsePopup::updateTargetID from 0x14043cda0 to 0x14043ce5d (189 bytes) // // 7 xrefs: // > SetupPulsePopup::onSelectTargetMode @ 0x14043b130 // > SetupPulsePopup::colorSelectClosed @ 0x14043bb5d // > SetupPulsePopup::onUpdateCustomColor @ 0x14043c38c // > SetupPulsePopup::textChanged @ 0x14043c556 // > @ 0x1406a1bcc // > @ 0x1406a1bdc // > @ 0x1406da10c // // 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 SetupPulsePopup::updateTargetID(SetupPulsePopup *a1) { EffectGameObject *m_gameObject; // rcx int m_targetGroupID; // eax cocos2d::CCArray *m_gameObjects; // rcx unsigned int v5; // esi struct cocos2d::CCObject *v6; // rax int v7; // ecx m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_targetGroupID = a1->m_targetGroupID; if ( m_targetGroupID < 0 ) m_targetGroupID = 0; if ( m_targetGroupID > 9999 ) m_targetGroupID = 9999; m_gameObject->m_targetGroupID = m_targetGroupID; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v5 = 0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v5); v7 = a1->m_targetGroupID; if ( v7 < 0 ) v7 = 0; if ( v7 > 9999 ) v7 = 9999; ++v5; v6[26].m_uAutoReleaseCount = v7; } while ( v5 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source