; ; CreateParticlePopup::updateSliderForType from 0x5310f4 to 0x53117e (138 bytes) ; ; 19 xrefs: ; > CreateParticlePopup::textChanged @ 0x5311fc ; > CreateParticlePopup::createParticleSlider @ 0x531682 ; > CreateParticlePopup::onDuplicateColor @ 0x5319f4 ; > CreateParticlePopup::onDuplicateColor @ 0x5319fc ; > CreateParticlePopup::onDuplicateColor @ 0x531a04 ; > CreateParticlePopup::colorSelectClosed @ 0x531b76 ; > CreateParticlePopup::colorSelectClosed @ 0x531b7e ; > CreateParticlePopup::colorSelectClosed @ 0x531b86 ; > CreateParticlePopup::colorSelectClosed @ 0x531c4a ; > CreateParticlePopup::colorSelectClosed @ 0x531c52 ; > CreateParticlePopup::colorSelectClosed @ 0x531c5a ; > CreateParticlePopup::onDurationForever @ 0x531ca2 ; > CreateParticlePopup::onMaxEmission @ 0x531cd2 ; > CreateParticlePopup::onCalcEmission @ 0x531d56 ; > CreateParticlePopup::sliderChanged @ 0x531df4 ; > CreateParticlePopup::ccTouchMoved @ 0x531f0c ; > CreateParticlePopup::ccTouchMoved @ 0x531f6a ; > CreateParticlePopup::ccTouchMoved @ 0x532090 ; > CreateParticlePopup::ccTouchMoved @ 0x5320a0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R4-R6,LR} ; +0x0, 0x5310f4 MOV R4, R1 ; +0x2, 0x5310f6 VPUSH {D8} ; +0x4, 0x5310f8 MOVS R1, #0; int ; +0x8, 0x5310fc MOV R5, R0 ; +0xa, 0x5310fe BL _ZN19CreateParticlePopup14getPageSlidersEi; CreateParticlePopup::getPageSliders(int) ; +0xc, 0x531100 MOV R1, R4; int ; +0x10, 0x531104 BL _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x12, 0x531106 MOV R6, R0 ; +0x16, 0x53110a CBZ R0, loc_531178 ; +0x18, 0x53110c MOV R1, R4 ; +0x1a, 0x53110e MOV R0, R5 ; +0x1c, 0x531110 BL _ZN19CreateParticlePopup21valueForParticleValueE15gjParticleValue; CreateParticlePopup::valueForParticleValue(gjParticleValue) ; +0x1e, 0x531112 MOV R1, R4 ; +0x22, 0x531116 VMOV S16, R0 ; +0x24, 0x531118 MOV R0, R5 ; +0x28, 0x53111c BL _ZN19CreateParticlePopup21minSliderValueForTypeE15gjParticleValue; CreateParticlePopup::minSliderValueForType(gjParticleValue) ; +0x2a, 0x53111e MOV R1, R4 ; +0x2e, 0x531122 VMOV S17, R0 ; +0x30, 0x531124 MOV R0, R5 ; +0x34, 0x531128 BL _ZN19CreateParticlePopup21maxSliderValueForTypeE15gjParticleValue; CreateParticlePopup::maxSliderValueForType(gjParticleValue) ; +0x36, 0x53112a VMOV.F32 S14, #1.0 ; +0x3a, 0x53112e VSUB.F32 S16, S16, S17 ; +0x3e, 0x531132 VMOV S15, R0 ; +0x42, 0x531136 VSUB.F32 S17, S15, S17 ; +0x46, 0x53113a VDIV.F32 S15, S16, S17 ; +0x4a, 0x53113e VCMPE.F32 S15, S14 ; +0x4e, 0x531142 VMRS APSR_nzcv, FPSCR ; +0x52, 0x531146 BPL loc_531160 ; +0x56, 0x53114a VCMPE.F32 S15, #0.0 ; +0x58, 0x53114c VLDR S14, =0.0 ; +0x5c, 0x531150 VMRS APSR_nzcv, FPSCR ; +0x60, 0x531154 IT LE ; +0x64, 0x531158 VMOVLE.F32 S15, S14 ; +0x66, 0x53115a B loc_531166 ; +0x6a, 0x53115e IT PL ; +0x6c, 0x531160 VMOVPL.F32 S15, S14 ; +0x6e, 0x531162 VPOP {D8} ; +0x72, 0x531166 MOV R0, R6; this ; +0x76, 0x53116a VMOV R1, S15; float ; +0x78, 0x53116c POP.W {R4-R6,LR} ; +0x7c, 0x531170 B.W _ZN6Slider8setValueEf; Slider::setValue(float) ; +0x80, 0x531174 VPOP {D8} ; +0x84, 0x531178 POP {R4-R6,PC} ; +0x88, 0x53117c