// // SetupPulsePopup::onUpdateCustomColor from 0x4be358 to 0x4be3c2 (106 bytes) // // 0 xrefs: // // 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::onUpdateCustomColor(SetupPulsePopup *a1, cocos2d::CCObject *a2) { int v3; // r0 int m_targetGroupID; // r3 int v5; // r2 int v6; // r3 int v7; // r3 if ( a1->m_targetGroupID >= 1000 && a1->m_pulseTargetType != 1 ) a1->m_targetGroupID = 0; v3 = a2->getTag(a2); m_targetGroupID = a1->m_targetGroupID; v5 = 999; if ( v3 == 1 ) v6 = m_targetGroupID - 1; else v6 = m_targetGroupID + 1; if ( a1->m_pulseTargetType == 1 ) v5 = 9999; v7 = v6 & ~(v6 >> 31); if ( v5 > v7 ) a1->m_targetGroupID = v7; else a1->m_targetGroupID = v5; SetupPulsePopup::updateTargetID(a1); SetupTriggerPopup::updateEditorLabel(a1); SetupPulsePopup::updateTextInputLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source