// // SetupShaderEffectPopup::onResetColors from 0x140453f20 to 0x1404540de (446 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::setupColorChange @ 0x140453e47 // > @ 0x1406da838 // // 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::onResetColors(SetupShaderEffectPopup *a1, cocos2d::CCObject *a2) { _BOOL8 v3; // r8 _BOOL8 v4; // r8 _BOOL8 v5; // r8 if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 176) ) { LOBYTE(v3) = 1; a1->updateToggleItem(a1, 176, v3); } else { SetupTriggerPopup::updateValueControls(a1, 176, 1.0); } SetupTriggerPopup::valueChanged(a1, 176, 1.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 191) ) { LOBYTE(v4) = 1; a1->updateToggleItem(a1, 191, v4); } else { SetupTriggerPopup::updateValueControls(a1, 191, 1.0); } SetupTriggerPopup::valueChanged(a1, 191, 1.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 175) ) { LOBYTE(v5) = 1; a1->updateToggleItem(a1, 175, v5); } else { SetupTriggerPopup::updateValueControls(a1, 175, 1.0); } SetupTriggerPopup::valueChanged(a1, 175, 1.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 179) ) a1->updateToggleItem(a1, 179, 0); else SetupTriggerPopup::updateValueControls(a1, 179, 0.0); SetupTriggerPopup::valueChanged(a1, 179, 0.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 180) ) a1->updateToggleItem(a1, 180, 0); else SetupTriggerPopup::updateValueControls(a1, 180, 0.0); SetupTriggerPopup::valueChanged(a1, 180, 0.0); if ( cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, 189) ) a1->updateToggleItem(a1, 189, 0); else SetupTriggerPopup::updateValueControls(a1, 189, 0.0); SetupTriggerPopup::valueChanged(a1, 189, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source