{"type": "func", "start": 10241572, "end": 10241764, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x9c4624 to 0x9c46e4 (192 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x2f460\n// > CreateParticlePopup::createParticleSlider @ 0x9c3ad8\n// > <???> @ 0x1229638\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::sliderChanged(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  float Value; // s8\n  gjParticleValue v4; // w19\n  float v5; // s9\n  float v6; // s8\n  float v7; // s0\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  v4 = a2->getTag(a2);\n  v5 = CreateParticlePopup::minSliderValueForType(a1, v4);\n  v6 = v5 + (float)(Value * (float)(CreateParticlePopup::maxSliderValueForType(a1, v4) - v5));\n  if ( CreateParticlePopup::particleValueIsInt(a1, v4) )\n    v7 = roundf(v6);\n  else\n    v7 = roundf(v6 * 100.0) / 100.0;\n  CreateParticlePopup::updateParticleValueForType(a1, v7, v4, nullptr);\n  CreateParticlePopup::updateSliderForType(a1, v4);\n  CreateParticlePopup::updateInputNodeStringForType(a1, v4);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x9c4624 to 0x9c46e4 (192 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x2f460\n; > CreateParticlePopup::createParticleSlider @ 0x9c3ad8\n; > <???> @ 0x1229638\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x9c4624\nMOV             X29, SP                                                ; +0x4, 0x9c4628\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x9c462c\nSTP             D8, D9, [SP,#0x40+var_20]                              ; +0xc, 0x9c4630\nMOV             X20, X0                                                ; +0x10, 0x9c4634\nMOV             X0, X1; this                                           ; +0x14, 0x9c4638\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x18, 0x9c463c\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x1c, 0x9c4640\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x20, 0x9c4644\nFMOV            S8, S0                                                 ; +0x24, 0x9c4648\nMOV             X0, X1                                                 ; +0x28, 0x9c464c\nLDR             X2, [X1]                                               ; +0x2c, 0x9c4650\nLDR             X1, [X2,#0x40]                                         ; +0x30, 0x9c4654\nBLR             X1                                                     ; +0x34, 0x9c4658\nMOV             W19, W0                                                ; +0x38, 0x9c465c\nMOV             W1, W19                                                ; +0x3c, 0x9c4660\nMOV             X0, X20                                                ; +0x40, 0x9c4664\nBL              _ZN19CreateParticlePopup21minSliderValueForTypeE15gjParticleValue; CreateParticlePopup::minSliderValueForType(gjParticleValue) ; +0x44, 0x9c4668\nFMOV            S9, S0                                                 ; +0x48, 0x9c466c\nMOV             X0, X20                                                ; +0x4c, 0x9c4670\nMOV             W1, W19                                                ; +0x50, 0x9c4674\nBL              _ZN19CreateParticlePopup21maxSliderValueForTypeE15gjParticleValue; CreateParticlePopup::maxSliderValueForType(gjParticleValue) ; +0x54, 0x9c4678\nFSUB            S0, S0, S9                                             ; +0x58, 0x9c467c\nMOV             X0, X20                                                ; +0x5c, 0x9c4680\nMOV             W1, W19                                                ; +0x60, 0x9c4684\nFMADD           S8, S8, S0, S9                                         ; +0x64, 0x9c4688\nBL              _ZN19CreateParticlePopup18particleValueIsIntE15gjParticleValue; CreateParticlePopup::particleValueIsInt(gjParticleValue) ; +0x68, 0x9c468c\nUXTB            W0, W0                                                 ; +0x6c, 0x9c4690\nCBNZ            W0, loc_9C46DC                                         ; +0x70, 0x9c4694\nLDR             S0, =0x42C80000                                        ; +0x74, 0x9c4698\nFMUL            S8, S8, S0                                             ; +0x78, 0x9c469c\nFRINTA          S8, S8                                                 ; +0x7c, 0x9c46a0\nFDIV            S0, S8, S0                                             ; +0x80, 0x9c46a4\nMOV             X2, #0                                                 ; +0x84, 0x9c46a8\nMOV             X0, X20                                                ; +0x88, 0x9c46ac\nMOV             W1, W19                                                ; +0x8c, 0x9c46b0\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x90, 0x9c46b4\nMOV             X0, X20                                                ; +0x94, 0x9c46b8\nMOV             W1, W19                                                ; +0x98, 0x9c46bc\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x9c, 0x9c46c0\nLDP             D8, D9, [SP,#0x40+var_20]                              ; +0xa0, 0x9c46c4\nMOV             X0, X20                                                ; +0xa4, 0x9c46c8\nMOV             W1, W19                                                ; +0xa8, 0x9c46cc\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xac, 0x9c46d0\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xb0, 0x9c46d4\nB               _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xb4, 0x9c46d8\nFRINTA          S0, S8                                                 ; +0xb8, 0x9c46dc\nB               loc_9C46A8                                             ; +0xbc, 0x9c46e0", "xrefs": ["<???> @ 0x2f460", "CreateParticlePopup::createParticleSlider @ 0x9c3ad8", "<???> @ 0x1229638"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}