{"type": "func", "start": 5373119120, "end": 5373119285, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x140434a90 to 0x140434b35 (165 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::createParticleSlider @ 0x140430d63\n// > <???> @ 0x1406d9c74\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; // xmm6_4\n  gjParticleValue v5; // ebx\n  CreateParticlePopup *v6; // rcx\n  float v7; // xmm1_4\n  CreateParticlePopup *v8; // rcx\n  float v9; // xmm0_4\n  CreateParticlePopup *v10; // rcx\n  float v11; // xmm0_4\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  v5 = a2->getTag(a2);\n  v7 = CreateParticlePopup::maxSliderValueForType(v6, v5);\n  v9 = (float)((float)(CreateParticlePopup::minSliderValueForType(v8, v5) - v7) * Value) + v7;\n  if ( CreateParticlePopup::particleValueIsInt(v10, v5) )\n    v11 = roundf(v9);\n  else\n    v11 = roundf(v9 * 100.0) / 100.0;\n  CreateParticlePopup::updateParticleValueForType(a1, v11, v5, nullptr);\n  CreateParticlePopup::updateSliderForType(a1, v5);\n  CreateParticlePopup::updateInputNodeStringForType(a1, v5);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x140434a90 to 0x140434b35 (165 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::createParticleSlider @ 0x140430d63\n; > <???> @ 0x1406d9c74\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140434a90\npush    rdi                                                            ; +0x5, 0x140434a95\nsub     rsp, 30h                                                       ; +0x6, 0x140434a96\nmov     rdi, rcx                                                       ; +0xa, 0x140434a9a\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xd, 0x140434a9d\nmov     rcx, rdx                                                       ; +0x12, 0x140434aa2\nmov     rbx, rdx                                                       ; +0x15, 0x140434aa5\ncall    SliderThumb__getValue                                          ; +0x18, 0x140434aa8\nmov     rax, [rbx]                                                     ; +0x1d, 0x140434aad\nmov     rcx, rbx                                                       ; +0x20, 0x140434ab0\nmovaps  xmm6, xmm0                                                     ; +0x23, 0x140434ab3\ncall    qword ptr [rax+38h]                                            ; +0x26, 0x140434ab6\nmov     edx, eax                                                       ; +0x29, 0x140434ab9\nmov     ebx, eax                                                       ; +0x2b, 0x140434abb\ncall    CreateParticlePopup__maxSliderValueForType                     ; +0x2d, 0x140434abd\nmov     edx, ebx                                                       ; +0x32, 0x140434ac2\nmovaps  xmm1, xmm0                                                     ; +0x34, 0x140434ac4\ncall    CreateParticlePopup__minSliderValueForType                     ; +0x37, 0x140434ac7\nsubss   xmm0, xmm1                                                     ; +0x3c, 0x140434acc\nmov     edx, ebx                                                       ; +0x40, 0x140434ad0\nmulss   xmm0, xmm6                                                     ; +0x42, 0x140434ad2\naddss   xmm0, xmm1                                                     ; +0x46, 0x140434ad6\ncall    CreateParticlePopup__particleValueIsInt                        ; +0x4a, 0x140434ada\ntest    al, al                                                         ; +0x4f, 0x140434adf\njz      short loc_140434AEB                                            ; +0x51, 0x140434ae1\ncall    cs:__imp_roundf                                                ; +0x53, 0x140434ae3\njmp     short loc_140434B01                                            ; +0x59, 0x140434ae9\nmulss   xmm0, cs:dword_1406232BC; X                                    ; +0x5b, 0x140434aeb\ncall    cs:__imp_roundf                                                ; +0x63, 0x140434af3\ndivss   xmm0, cs:dword_1406232BC                                       ; +0x69, 0x140434af9\nxor     r9d, r9d                                                       ; +0x71, 0x140434b01\nmov     r8d, ebx                                                       ; +0x74, 0x140434b04\nmovaps  xmm1, xmm0                                                     ; +0x77, 0x140434b07\nmov     rcx, rdi                                                       ; +0x7a, 0x140434b0a\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x7d, 0x140434b0d\nmov     edx, ebx                                                       ; +0x82, 0x140434b12\nmov     rcx, rdi                                                       ; +0x84, 0x140434b14\ncall    CreateParticlePopup__updateSliderForType                       ; +0x87, 0x140434b17\nmov     edx, ebx                                                       ; +0x8c, 0x140434b1c\nmov     rcx, rdi                                                       ; +0x8e, 0x140434b1e\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x91, 0x140434b21\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x96, 0x140434b26\nadd     rsp, 30h                                                       ; +0x9b, 0x140434b2b\npop     rdi                                                            ; +0x9f, 0x140434b2f\njmp     CreateParticlePopup__updateInputNodeStringForType              ; +0xa0, 0x140434b30", "xrefs": ["CreateParticlePopup::createParticleSlider @ 0x140430d63", "<???> @ 0x1406d9c74"], "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"}