// // SetupRotateCommandPopup::valueDidChange from 0x1402a8f70 to 0x1402a91ef (639 bytes) // // 4 xrefs: // > @ 0x14057d2f8 // > @ 0x14068ad44 // > @ 0x14068ad54 // > @ 0x1406d2198 // // 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 SetupRotateCommandPopup::valueDidChange(SetupRotateCommandPopup *a1, int a2, float a3) { int v4; // edx int v5; // edx int v6; // edx int v7; // edx int v8; // edx bool v9; // di CCMenuItemSpriteExtra *m_prevButton; // rcx v4 = a2 - 100; if ( v4 ) { v5 = v4 - 38; if ( v5 ) { v6 = v5 - 62; if ( v6 ) { v7 = v6 - 194; if ( v7 ) { if ( v7 != 3 ) return; } else if ( a3 != 0.0 ) { if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 100) ) a1->updateToggleItem(a1, 100, 0); else SetupTriggerPopup::updateValueControls(a1, 100, 0.0); SetupTriggerPopup::valueChanged(a1, 100, 0.0); } SetupRotateCommandPopup::updateControlVisibility(a1); return; } if ( a3 == 0.0 ) return; if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 138) ) a1->updateToggleItem(a1, 138, 0); else SetupTriggerPopup::updateValueControls(a1, 138, 0.0); v8 = 138; } else { if ( a3 == 0.0 ) return; if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 200) ) a1->updateToggleItem(a1, 200, 0); else SetupTriggerPopup::updateValueControls(a1, 200, 0.0); v8 = 200; } SetupTriggerPopup::valueChanged(a1, v8, 0.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 401) ) a1->updateToggleItem(a1, 401, 0); else SetupTriggerPopup::updateValueControls(a1, 401, 0.0); SetupTriggerPopup::valueChanged(a1, 401, 0.0); } else { if ( a3 != 0.0 ) { if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 394) ) a1->updateToggleItem(a1, 394, 0); else SetupTriggerPopup::updateValueControls(a1, 394, 0.0); SetupTriggerPopup::valueChanged(a1, 394, 0.0); } SetupRotateCommandPopup::updateControlVisibility(a1); v9 = a3 != 0.0; m_prevButton = a1->m_prevButton; if ( m_prevButton ) { m_prevButton->setVisible(m_prevButton, v9); a1->m_prevButton->setEnabled(a1->m_prevButton, v9); a1->m_nextButton->setVisible(a1->m_nextButton, v9); a1->m_nextButton->setEnabled(a1->m_nextButton, v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source