{"type": "func", "start": 11538068, "end": 11538260, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0xb00e94 to 0xb00f54 (192 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x46ca8\n// > CreateParticlePopup::createParticleSlider @ 0xb003e8\n// > <???> @ 0x1541578\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:01:20 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::sliderChanged(cocos2d::CCArray **this, cocos2d::CCObject *a2)\n{\n  float Value; // s8\n  unsigned int v4; // w19\n  float v5; // s9\n  float v6; // s8\n  long double v7; // q0\n\n  Value = SliderThumb::getValue(a2);\n  v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  v5 = CreateParticlePopup::minSliderValueForType((__int64)this, v4);\n  v6 = v5 + (float)(Value * (float)(CreateParticlePopup::maxSliderValueForType((__int64)this, v4) - v5));\n  if ( (unsigned __int8)CreateParticlePopup::particleValueIsInt((__int64)this, v4) )\n    *(float *)&v7 = roundf(v6);\n  else\n    *(float *)&v7 = roundf(v6 * 100.0) / 100.0;\n  CreateParticlePopup::updateParticleValueForType((__int64)this, v4, nullptr, v7);\n  CreateParticlePopup::updateSliderForType(this, v4);\n  return CreateParticlePopup::updateInputNodeStringForType((__int64)this, v4);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0xb00e94 to 0xb00f54 (192 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x46ca8\n; > CreateParticlePopup::createParticleSlider @ 0xb003e8\n; > <???> @ 0x1541578\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:01:20 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xb00e94\nMOV             X29, SP                                                ; +0x4, 0xb00e98\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xb00e9c\nSTP             D8, D9, [SP,#0x40+var_20]                              ; +0xc, 0xb00ea0\nMOV             X20, X0                                                ; +0x10, 0xb00ea4\nMOV             X0, X1; this                                           ; +0x14, 0xb00ea8\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x18, 0xb00eac\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x1c, 0xb00eb0\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x20, 0xb00eb4\nFMOV            S8, S0                                                 ; +0x24, 0xb00eb8\nMOV             X0, X1                                                 ; +0x28, 0xb00ebc\nLDR             X2, [X1]                                               ; +0x2c, 0xb00ec0\nLDR             X1, [X2,#0x40]                                         ; +0x30, 0xb00ec4\nBLR             X1                                                     ; +0x34, 0xb00ec8\nMOV             W19, W0                                                ; +0x38, 0xb00ecc\nMOV             W1, W19                                                ; +0x3c, 0xb00ed0\nMOV             X0, X20                                                ; +0x40, 0xb00ed4\nBL              _ZN19CreateParticlePopup21minSliderValueForTypeE15gjParticleValue; CreateParticlePopup::minSliderValueForType(gjParticleValue) ; +0x44, 0xb00ed8\nFMOV            S9, S0                                                 ; +0x48, 0xb00edc\nMOV             X0, X20                                                ; +0x4c, 0xb00ee0\nMOV             W1, W19                                                ; +0x50, 0xb00ee4\nBL              _ZN19CreateParticlePopup21maxSliderValueForTypeE15gjParticleValue; CreateParticlePopup::maxSliderValueForType(gjParticleValue) ; +0x54, 0xb00ee8\nFSUB            S0, S0, S9                                             ; +0x58, 0xb00eec\nMOV             X0, X20                                                ; +0x5c, 0xb00ef0\nMOV             W1, W19                                                ; +0x60, 0xb00ef4\nFMADD           S8, S8, S0, S9                                         ; +0x64, 0xb00ef8\nBL              _ZN19CreateParticlePopup18particleValueIsIntE15gjParticleValue; CreateParticlePopup::particleValueIsInt(gjParticleValue) ; +0x68, 0xb00efc\nUXTB            W0, W0                                                 ; +0x6c, 0xb00f00\nCBNZ            W0, loc_B00F4C                                         ; +0x70, 0xb00f04\nLDR             S0, =0x42C80000                                        ; +0x74, 0xb00f08\nFMUL            S8, S8, S0                                             ; +0x78, 0xb00f0c\nFRINTA          S8, S8                                                 ; +0x7c, 0xb00f10\nFDIV            S0, S8, S0                                             ; +0x80, 0xb00f14\nMOV             X2, #0                                                 ; +0x84, 0xb00f18\nMOV             X0, X20                                                ; +0x88, 0xb00f1c\nMOV             W1, W19                                                ; +0x8c, 0xb00f20\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x90, 0xb00f24\nMOV             X0, X20                                                ; +0x94, 0xb00f28\nMOV             W1, W19                                                ; +0x98, 0xb00f2c\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x9c, 0xb00f30\nLDP             D8, D9, [SP,#0x40+var_20]                              ; +0xa0, 0xb00f34\nMOV             X0, X20                                                ; +0xa4, 0xb00f38\nMOV             W1, W19                                                ; +0xa8, 0xb00f3c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xac, 0xb00f40\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xb0, 0xb00f44\nB               _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xb4, 0xb00f48\nFRINTA          S0, S8                                                 ; +0xb8, 0xb00f4c\nB               loc_B00F18                                             ; +0xbc, 0xb00f50", "xrefs": ["<???> @ 0x46ca8", "CreateParticlePopup::createParticleSlider @ 0xb003e8", "<???> @ 0x1541578"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}