{"type": "func", "start": 6711620, "end": 6711768, "name": "CreateParticlePopup::sliderChanged", "pseudocode": "// \n// CreateParticlePopup::sliderChanged from 0x666944 to 0x6669d8 (148 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:41 +0000\n// \n\nint __fastcall CreateParticlePopup::sliderChanged(cocos2d::CCArray **this, cocos2d::CCObject *a2)\n{\n  int v4; // r4\n  float v5; // s16\n\n  SliderThumb::getValue(a2);\n  v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  CreateParticlePopup::minSliderValueForType((int)this, v4);\n  CreateParticlePopup::maxSliderValueForType((int)this, v4);\n  if ( CreateParticlePopup::particleValueIsInt((int)this, v4) )\n    v5 = COERCE_FLOAT(roundf());\n  else\n    v5 = COERCE_FLOAT(roundf()) / 100.0;\n  CreateParticlePopup::updateParticleValueForType((unsigned int)this, v5, v4, nullptr);\n  CreateParticlePopup::updateSliderForType(this, v4);\n  return CreateParticlePopup::updateInputNodeStringForType((int)this, v4);\n}", "assembly": "; \n; CreateParticlePopup::sliderChanged from 0x666944 to 0x6669d8 (148 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:41 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x666944\nMOV             R5, R0                                                 ; +0x2, 0x666946\nVPUSH           {D8}                                                   ; +0x4, 0x666948\nMOV             R0, R1; this                                           ; +0x8, 0x66694c\nMOV             R4, R1                                                 ; +0xa, 0x66694e\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0xc, 0x666950\nLDR             R3, [R4]                                               ; +0x10, 0x666954\nLDR             R3, [R3,#0x20]                                         ; +0x12, 0x666956\nVMOV            S16, R0                                                ; +0x14, 0x666958\nMOV             R0, R4                                                 ; +0x18, 0x66695c\nBLX             R3                                                     ; +0x1a, 0x66695e\nMOV             R4, R0                                                 ; +0x1c, 0x666960\nMOV             R0, R5                                                 ; +0x1e, 0x666962\nMOV             R1, R4                                                 ; +0x20, 0x666964\nBL              _ZN19CreateParticlePopup21minSliderValueForTypeE15gjParticleValue; CreateParticlePopup::minSliderValueForType(gjParticleValue) ; +0x22, 0x666966\nMOV             R1, R4                                                 ; +0x26, 0x66696a\nVMOV            S17, R0                                                ; +0x28, 0x66696c\nMOV             R0, R5                                                 ; +0x2c, 0x666970\nBL              _ZN19CreateParticlePopup21maxSliderValueForTypeE15gjParticleValue; CreateParticlePopup::maxSliderValueForType(gjParticleValue) ; +0x2e, 0x666972\nMOV             R1, R4                                                 ; +0x32, 0x666976\nVMOV            S15, R0                                                ; +0x34, 0x666978\nMOV             R0, R5                                                 ; +0x38, 0x66697c\nVSUB.F32        S15, S15, S17                                          ; +0x3a, 0x66697e\nVMLA.F32        S17, S15, S16                                          ; +0x3e, 0x666982\nBL              _ZN19CreateParticlePopup18particleValueIsIntE15gjParticleValue; CreateParticlePopup::particleValueIsInt(gjParticleValue) ; +0x42, 0x666986\nCBZ             R0, loc_66699A                                         ; +0x46, 0x66698a\nVMOV            R0, S17                                                ; +0x48, 0x66698c\nBLX             roundf                                                 ; +0x4c, 0x666990\nVMOV            S16, R0                                                ; +0x50, 0x666994\nB               loc_6669B2                                             ; +0x54, 0x666998\nVLDR            S16, =100.0                                            ; +0x56, 0x66699a\nVMUL.F32        S15, S17, S16                                          ; +0x5a, 0x66699e\nVMOV            R0, S15                                                ; +0x5e, 0x6669a2\nBLX             roundf                                                 ; +0x62, 0x6669a6\nVMOV            S15, R0                                                ; +0x66, 0x6669aa\nVDIV.F32        S16, S15, S16                                          ; +0x6a, 0x6669ae\nMOV             R0, R5                                                 ; +0x6e, 0x6669b2\nVMOV            R1, S16                                                ; +0x70, 0x6669b4\nMOV             R2, R4                                                 ; +0x74, 0x6669b8\nMOVS            R3, #0                                                 ; +0x76, 0x6669ba\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x78, 0x6669bc\nMOV             R0, R5                                                 ; +0x7c, 0x6669c0\nMOV             R1, R4                                                 ; +0x7e, 0x6669c2\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x80, 0x6669c4\nVPOP            {D8}                                                   ; +0x84, 0x6669c8\nMOV             R0, R5                                                 ; +0x88, 0x6669cc\nMOV             R1, R4                                                 ; +0x8a, 0x6669ce\nPOP.W           {R3-R5,LR}                                             ; +0x8c, 0x6669d0\nB.W             _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x90, 0x6669d4", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}