// // CreateParticlePopup::sliderChanged from 0x1002cf70c to 0x1002cf7dc (208 bytes) // // 1 xrefs: // > CreateParticlePopup::createParticleSlider @ 0x1002ce884 // // 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 CreateParticlePopup::sliderChanged(CreateParticlePopup *a1, cocos2d::CCObject *a2) { float Value; // s8 CreateParticlePopup *v5; // x0 gjParticleValue v6; // w20 float v7; // s9 CreateParticlePopup *v8; // x0 float v9; // s0 bool v10; // zf float v11; // s0 Value = SliderThumb::getValue((SliderThumb *)a2); v5 = (CreateParticlePopup *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v6 = (int)v5; v7 = CreateParticlePopup::minSliderValueForType(v5, (gjParticleValue)v5); v9 = v7 + (float)((float)(CreateParticlePopup::maxSliderValueForType(v8, v6) - v7) * Value); if ( (unsigned int)(v6 - 5) >= 0x15 && ((unsigned int)v6 <= RotSecVar ? (v10 = ((1LL << v6) & 0xFC000000000002LL) == 0) : (v10 = 1), v10) ) { v11 = roundf(v9 * 100.0) / 100.0; } else { v11 = roundf(v9); } CreateParticlePopup::updateParticleValueForType(a1, v11, v6, nullptr); CreateParticlePopup::updateSliderForType(a1, v6); CreateParticlePopup::updateInputNodeStringForType(a1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source