{"type": "func", "start": 4297914124, "end": 4297914332, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x1002cf70c to 0x1002cf7dc (208 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::createParticleSlider @ 0x1002ce884\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 __fastcall CreateParticlePopup::sliderChanged(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  float Value; // s8\n  CreateParticlePopup *v5; // x0\n  gjParticleValue v6; // w20\n  float v7; // s9\n  CreateParticlePopup *v8; // x0\n  float v9; // s0\n  bool v10; // zf\n  float v11; // s0\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  v5 = (CreateParticlePopup *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  v6 = (int)v5;\n  v7 = CreateParticlePopup::minSliderValueForType(v5, (gjParticleValue)v5);\n  v9 = v7 + (float)((float)(CreateParticlePopup::maxSliderValueForType(v8, v6) - v7) * Value);\n  if ( (unsigned int)(v6 - 5) >= 0x15\n    && ((unsigned int)v6 <= RotSecVar ? (v10 = ((1LL << v6) & 0xFC000000000002LL) == 0) : (v10 = 1), v10) )\n  {\n    v11 = roundf(v9 * 100.0) / 100.0;\n  }\n  else\n  {\n    v11 = roundf(v9);\n  }\n  CreateParticlePopup::updateParticleValueForType(a1, v11, v6, nullptr);\n  CreateParticlePopup::updateSliderForType(a1, v6);\n  CreateParticlePopup::updateInputNodeStringForType(a1, v6);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x1002cf70c to 0x1002cf7dc (208 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::createParticleSlider @ 0x1002ce884\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1002cf70c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002cf710\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002cf714\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002cf718\nMOV             X20, X1                                                ; +0x10, 0x1002cf71c\nMOV             X19, X0                                                ; +0x14, 0x1002cf720\nMOV             X0, X1                                                 ; +0x18, 0x1002cf724\nBL              SliderThumb__getValue                                  ; +0x1c, 0x1002cf728\nFMOV            S8, S0                                                 ; +0x20, 0x1002cf72c\nLDR             X8, [X20]                                              ; +0x24, 0x1002cf730\nLDR             X8, [X8,#0x40]                                         ; +0x28, 0x1002cf734\nMOV             X0, X20                                                ; +0x2c, 0x1002cf738\nBLR             X8                                                     ; +0x30, 0x1002cf73c\nMOV             X20, X0                                                ; +0x34, 0x1002cf740\nMOV             X1, X0                                                 ; +0x38, 0x1002cf744\nBL              CreateParticlePopup__minSliderValueForType             ; +0x3c, 0x1002cf748\nFMOV            S9, S0                                                 ; +0x40, 0x1002cf74c\nMOV             X1, X20                                                ; +0x44, 0x1002cf750\nBL              CreateParticlePopup__maxSliderValueForType             ; +0x48, 0x1002cf754\nFSUB            S0, S0, S9                                             ; +0x4c, 0x1002cf758\nFMADD           S0, S0, S8, S9                                         ; +0x50, 0x1002cf75c\nSUB             W8, W20, #5                                            ; +0x54, 0x1002cf760\nCMP             W8, #0x15                                              ; +0x58, 0x1002cf764\nB.CC            loc_1002CF78C                                          ; +0x5c, 0x1002cf768\nMOV             W8, W20                                                ; +0x60, 0x1002cf76c\nCMP             W20, #0x37 ; '7'                                       ; +0x64, 0x1002cf770\nMOV             W9, #1                                                 ; +0x68, 0x1002cf774\nLSL             X8, X9, X8                                             ; +0x6c, 0x1002cf778\nAND             X8, X8, #0xFFFFFFFFFFFFFE                              ; +0x70, 0x1002cf77c\nAND             X8, X8, #0xFFFC000000000003                            ; +0x74, 0x1002cf780\nCCMP            X8, #0, #4, LS                                         ; +0x78, 0x1002cf784\nB.EQ            loc_1002CF7C4                                          ; +0x7c, 0x1002cf788\nFRINTA          S0, S0                                                 ; +0x80, 0x1002cf78c\nMOV             X0, X19                                                ; +0x84, 0x1002cf790\nMOV             X1, X20                                                ; +0x88, 0x1002cf794\nMOV             X2, #0                                                 ; +0x8c, 0x1002cf798\nBL              CreateParticlePopup__updateParticleValueForType        ; +0x90, 0x1002cf79c\nMOV             X0, X19                                                ; +0x94, 0x1002cf7a0\nMOV             X1, X20                                                ; +0x98, 0x1002cf7a4\nBL              CreateParticlePopup__updateSliderForType               ; +0x9c, 0x1002cf7a8\nMOV             X0, X19                                                ; +0xa0, 0x1002cf7ac\nMOV             X1, X20                                                ; +0xa4, 0x1002cf7b0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xa8, 0x1002cf7b4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xac, 0x1002cf7b8\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xb0, 0x1002cf7bc\nB               CreateParticlePopup__updateInputNodeStringForType      ; +0xb4, 0x1002cf7c0\nMOV             W8, #0x42C80000                                        ; +0xb8, 0x1002cf7c4\nFMOV            S1, W8                                                 ; +0xbc, 0x1002cf7c8\nFMUL            S0, S0, S1                                             ; +0xc0, 0x1002cf7cc\nFRINTA          S0, S0                                                 ; +0xc4, 0x1002cf7d0\nFDIV            S0, S0, S1                                             ; +0xc8, 0x1002cf7d4\nB               loc_1002CF790                                          ; +0xcc, 0x1002cf7d8", "xrefs": ["CreateParticlePopup::createParticleSlider @ 0x1002ce884"], "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"}