; ; CreateParticlePopup::ccTouchMoved from 0x531e0c to 0x5320c4 (696 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CreateParticlePopup::ccTouchMoved @ 0x5320e4 ; ; 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.W {R4-R11,LR} ; +0x0, 0x531e0c MOV R4, R0 ; +0x4, 0x531e10 LDR R7, =(__stack_chk_guard_ptr - 0x531E20) ; +0x6, 0x531e12 MOV R10, R1 ; +0x8, 0x531e14 VPUSH {D8} ; +0xa, 0x531e16 MOV R11, R2 ; +0xe, 0x531e1a ADD R7, PC; __stack_chk_guard_ptr ; +0x10, 0x531e1c LDR R7, [R7]; __stack_chk_guard ; +0x12, 0x531e1e LDR R6, [R1,#0x34] ; +0x14, 0x531e20 LDR.W R5, [R0,#0x214] ; +0x16, 0x531e22 LDR R3, [R7] ; +0x1a, 0x531e26 SUB SP, SP, #0x3C; float ; +0x1c, 0x531e28 CMP R6, R5 ; +0x1e, 0x531e2a STR R3, [SP,#0x3C+var_8] ; +0x20, 0x531e2c BNE.W loc_5320AA ; +0x22, 0x531e2e ADD R6, SP, #0x3C+var_30 ; +0x26, 0x531e32 ADD.W R8, SP, #0x3C+var_18 ; +0x28, 0x531e34 VLDR S16, =180.0 ; +0x2c, 0x531e38 MOV R0, R6; this ; +0x30, 0x531e3c BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x32, 0x531e3e MOV R2, R6 ; +0x36, 0x531e42 MOV R0, R8; this ; +0x38, 0x531e44 LDR.W R1, [R4,#0x238]; cocos2d::CCPoint * ; +0x3a, 0x531e46 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x3e, 0x531e4a MOV R1, R8 ; +0x42, 0x531e4e MOV R0, R6 ; +0x44, 0x531e50 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x46, 0x531e52 MOVS R1, #0; float ; +0x4a, 0x531e56 MOV R2, R1; float ; +0x4c, 0x531e58 LDR R3, flt_5320C8; float ; +0x4e, 0x531e5a VSTR S16, [SP,#0x3C+var_3C] ; +0x50, 0x531e5c MOV R0, R8; this ; +0x54, 0x531e60 BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x56, 0x531e62 LDR.W R0, [R4,#0x20C] ; +0x5a, 0x531e66 LDR R3, [R0] ; +0x5e, 0x531e6a LDR.W R3, [R3,#0x314] ; +0x60, 0x531e6c BLX R3 ; +0x64, 0x531e70 MOV R1, R6; cocos2d::CCPoint * ; +0x66, 0x531e72 MOV R5, R0 ; +0x68, 0x531e74 MOV R0, R8; this ; +0x6a, 0x531e76 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x6c, 0x531e78 CMP R0, #0 ; +0x70, 0x531e7c BEQ.W loc_5320A4 ; +0x72, 0x531e7e LDR.W R8, [R4,#0x24C] ; +0x76, 0x531e82 CMP.W R8, #0 ; +0x7a, 0x531e86 BNE loc_531EAE ; +0x7e, 0x531e8a LDR.W R8, [R4,#0x20C] ; +0x80, 0x531e8c ADD R5, SP, #0x3C+x ; +0x84, 0x531e90 MOV R1, R6 ; +0x86, 0x531e92 ADD.W R2, R4, #0x218 ; +0x88, 0x531e94 MOV R0, R5 ; +0x8c, 0x531e98 LDR.W R3, [R8] ; +0x8e, 0x531e9a LDR.W R9, [R3,#0x5C] ; +0x92, 0x531e9e BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x96, 0x531ea2 MOV R0, R8 ; +0x9a, 0x531ea6 MOV R1, R5 ; +0x9c, 0x531ea8 BLX R9 ; +0x9e, 0x531eaa B loc_5320A4 ; +0xa0, 0x531eac CLZ.W R5, R5 ; +0xa2, 0x531eae CMP.W R8, #1 ; +0xa6, 0x531eb2 MOV.W R5, R5,LSR#5 ; +0xaa, 0x531eb6 BNE loc_531F1E ; +0xae, 0x531eba CMP R5, #0 ; +0xb0, 0x531ebc BEQ loc_531F7C ; +0xb2, 0x531ebe LDR.W R0, [R4,#0x20C] ; +0xb4, 0x531ec0 LDR R3, [R0] ; +0xb8, 0x531ec4 LDR R3, [R3,#0x60] ; +0xba, 0x531ec6 BLX R3 ; +0xbc, 0x531ec8 MOV R2, R6 ; +0xbe, 0x531eca MOV R1, R0 ; +0xc0, 0x531ecc ADD R0, SP, #0x3C+x ; +0xc2, 0x531ece BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xc4, 0x531ed0 VLDR S15, [SP,#0x3C+x] ; +0xc8, 0x531ed4 MOV R0, R4 ; +0xcc, 0x531ed8 MOVS R2, #0xA ; +0xce, 0x531eda MOVS R3, #0 ; +0xd0, 0x531edc VABS.F32 S15, S15 ; +0xd2, 0x531ede VMOV R1, S15 ; +0xd6, 0x531ee2 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xda, 0x531ee6 VLDR S15, [SP,#0x3C+y] ; +0xde, 0x531eea MOVS R2, #0xB ; +0xe2, 0x531eee MOVS R3, #0 ; +0xe4, 0x531ef0 MOV R0, R4 ; +0xe6, 0x531ef2 VABS.F32 S15, S15 ; +0xe8, 0x531ef4 VMOV R1, S15 ; +0xec, 0x531ef8 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xf0, 0x531efc MOV R0, R4 ; +0xf4, 0x531f00 MOVS R1, #0xA ; +0xf6, 0x531f02 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xf8, 0x531f04 MOV R0, R4 ; +0xfc, 0x531f08 MOVS R1, #0xA ; +0xfe, 0x531f0a BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x100, 0x531f0c MOV R0, R4 ; +0x104, 0x531f10 MOVS R1, #0xB ; +0x106, 0x531f12 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x108, 0x531f14 MOV R0, R4 ; +0x10c, 0x531f18 MOVS R1, #0xB ; +0x10e, 0x531f1a B loc_5320A0 ; +0x110, 0x531f1c CMP.W R8, #2 ; +0x112, 0x531f1e BNE loc_531F7C ; +0x116, 0x531f22 CBZ R5, loc_531F7C ; +0x118, 0x531f24 LDR.W R0, [R4,#0x20C] ; +0x11a, 0x531f26 ADD R5, SP, #0x3C+var_28 ; +0x11e, 0x531f2a LDR R3, [R0] ; +0x120, 0x531f2c LDR R3, [R3,#0x60] ; +0x122, 0x531f2e BLX R3 ; +0x124, 0x531f30 MOV R2, R6 ; +0x126, 0x531f32 MOV R1, R0 ; +0x128, 0x531f34 MOV R0, R5 ; +0x12a, 0x531f36 BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x12c, 0x531f38 ADD R0, SP, #0x3C+x ; +0x130, 0x531f3c MOV R1, R5 ; +0x132, 0x531f3e LDR R2, =0xC1200000 ; +0x134, 0x531f40 BL _ZNK7cocos2d7CCPointmlEf; cocos2d::CCPoint::operator*(float) ; +0x136, 0x531f42 MOV R0, R4 ; +0x13a, 0x531f46 LDR R1, [SP,#0x3C+x] ; +0x13c, 0x531f48 MOVS R2, #0xC ; +0x13e, 0x531f4a MOVS R3, #0 ; +0x140, 0x531f4c BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x142, 0x531f4e MOVS R2, #0xD ; +0x146, 0x531f52 MOVS R3, #0 ; +0x148, 0x531f54 MOV R0, R4 ; +0x14a, 0x531f56 LDR R1, [SP,#0x3C+y] ; +0x14c, 0x531f58 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x14e, 0x531f5a MOV R0, R4 ; +0x152, 0x531f5e MOVS R1, #0xC ; +0x154, 0x531f60 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x156, 0x531f62 MOV R0, R4 ; +0x15a, 0x531f66 MOVS R1, #0xC ; +0x15c, 0x531f68 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x15e, 0x531f6a MOV R0, R4 ; +0x162, 0x531f6e MOVS R1, #0xD ; +0x164, 0x531f70 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x166, 0x531f72 MOV R0, R4 ; +0x16a, 0x531f76 MOVS R1, #0xD ; +0x16c, 0x531f78 B loc_5320A0 ; +0x16e, 0x531f7a ADD.W R3, R8, #0xFFFFFFFF ; +0x170, 0x531f7c CMP R3, #1 ; +0x174, 0x531f80 BHI loc_531FEC ; +0x176, 0x531f82 CMP R5, #0 ; +0x178, 0x531f84 BNE.W loc_5320A4 ; +0x17a, 0x531f86 LDR.W R0, [R4,#0x20C] ; +0x17e, 0x531f8a ADD.W R9, SP, #0x3C+x ; +0x182, 0x531f8e LDR R3, [R0] ; +0x186, 0x531f92 LDR R3, [R3,#0x60] ; +0x188, 0x531f94 BLX R3 ; +0x18a, 0x531f96 MOV R2, R6 ; +0x18c, 0x531f98 MOV R1, R0 ; +0x18e, 0x531f9a MOV R0, R9 ; +0x190, 0x531f9c BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x192, 0x531f9e MOV R0, R9; this ; +0x196, 0x531fa2 BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x198, 0x531fa4 CMP.W R8, #1 ; +0x19c, 0x531fa8 MOV R0, R9; this ; +0x1a0, 0x531fac BNE loc_531FCE ; +0x1a2, 0x531fae BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x1a4, 0x531fb0 MOVS R2, #0x32 ; '2' ; +0x1a8, 0x531fb4 MOV R3, R5 ; +0x1aa, 0x531fb6 MOV R1, R0 ; +0x1ac, 0x531fb8 MOV R0, R4 ; +0x1ae, 0x531fba BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1b0, 0x531fbc MOV R0, R4 ; +0x1b4, 0x531fc0 MOVS R1, #0x32 ; '2' ; +0x1b6, 0x531fc2 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1b8, 0x531fc4 MOV R0, R4 ; +0x1bc, 0x531fc8 MOVS R1, #0x32 ; '2' ; +0x1be, 0x531fca B loc_5320A0 ; +0x1c0, 0x531fcc BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x1c2, 0x531fce MOVS R2, #0x34 ; '4' ; +0x1c6, 0x531fd2 MOV R3, R5 ; +0x1c8, 0x531fd4 MOV R1, R0 ; +0x1ca, 0x531fd6 MOV R0, R4 ; +0x1cc, 0x531fd8 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1ce, 0x531fda MOV R0, R4 ; +0x1d2, 0x531fde MOVS R1, #0x34 ; '4' ; +0x1d4, 0x531fe0 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1d6, 0x531fe2 MOV R0, R4 ; +0x1da, 0x531fe6 MOVS R1, #0x34 ; '4' ; +0x1dc, 0x531fe8 B loc_5320A0 ; +0x1de, 0x531fea CMP.W R8, #3 ; +0x1e0, 0x531fec BNE loc_5320A4 ; +0x1e4, 0x531ff0 LDR.W R0, [R4,#0x20C] ; +0x1e6, 0x531ff2 ADD.W R8, SP, #0x3C+x ; +0x1ea, 0x531ff6 LDR R3, [R0] ; +0x1ee, 0x531ffa LDR R3, [R3,#0x60] ; +0x1f0, 0x531ffc BLX R3 ; +0x1f2, 0x531ffe MOV R2, R6 ; +0x1f4, 0x532000 MOV R1, R0 ; +0x1f6, 0x532002 MOV R0, R8 ; +0x1f8, 0x532004 BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x1fa, 0x532006 CBZ R5, loc_53202C ; +0x1fe, 0x53200a MOV R0, R8; this ; +0x200, 0x53200c BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x202, 0x53200e VMOV.F32 S15, #4.0 ; +0x206, 0x532012 MOVS R2, #8 ; +0x20a, 0x532016 MOVS R3, #0 ; +0x20c, 0x532018 VMOV S14, R0 ; +0x20e, 0x53201a MOV R0, R4 ; +0x212, 0x53201e VMUL.F32 S15, S14, S15 ; +0x214, 0x532020 VMOV R1, S15 ; +0x218, 0x532024 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x21c, 0x532028 LDR R0, [SP,#0x3C+y]; y ; +0x220, 0x53202c LDR R1, [SP,#0x3C+x]; x ; +0x222, 0x53202e BLX atan2f ; +0x224, 0x532030 VLDR S15, =57.296 ; +0x228, 0x532034 VMOV S14, R0 ; +0x22c, 0x532038 VMUL.F32 S15, S14, S15 ; +0x230, 0x53203c CBZ R5, loc_532046 ; +0x234, 0x532040 VADD.F32 S15, S15, S16 ; +0x236, 0x532042 VCMPE.F32 S15, S16 ; +0x23a, 0x532046 VMRS APSR_nzcv, FPSCR ; +0x23e, 0x53204a BLE loc_53205A ; +0x242, 0x53204e VLDR S14, =360.0 ; +0x244, 0x532050 VSUB.F32 S15, S15, S14 ; +0x248, 0x532054 B loc_532070 ; +0x24c, 0x532058 VLDR S14, =-180.0 ; +0x24e, 0x53205a VCMPE.F32 S15, S14 ; +0x252, 0x53205e VMRS APSR_nzcv, FPSCR ; +0x256, 0x532062 ITT MI ; +0x25a, 0x532066 VLDRMI S14, =360.0 ; +0x25c, 0x532068 VADDMI.F32 S15, S15, S14 ; +0x260, 0x53206c MOV R0, R4 ; +0x264, 0x532070 MOVS R2, #6 ; +0x266, 0x532072 MOVS R3, #0 ; +0x268, 0x532074 VNEG.F32 S15, S15 ; +0x26a, 0x532076 VMOV R1, S15 ; +0x26e, 0x53207a BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x272, 0x53207e CBZ R5, loc_532094 ; +0x276, 0x532082 MOV R0, R4 ; +0x278, 0x532084 MOVS R1, #8 ; +0x27a, 0x532086 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x27c, 0x532088 MOV R0, R4 ; +0x280, 0x53208c MOVS R1, #8 ; +0x282, 0x53208e BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x284, 0x532090 MOV R0, R4 ; +0x288, 0x532094 MOVS R1, #6 ; +0x28a, 0x532096 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x28c, 0x532098 MOV R0, R4 ; +0x290, 0x53209c MOVS R1, #6 ; +0x292, 0x53209e BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x294, 0x5320a0 MOV R0, R4 ; +0x298, 0x5320a4 MOV R1, R10 ; +0x29a, 0x5320a6 MOV R2, R11 ; +0x29c, 0x5320a8 BL _ZN12FLAlertLayer12ccTouchMovedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchMoved(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x29e, 0x5320aa LDR R2, [SP,#0x3C+var_8] ; +0x2a2, 0x5320ae LDR R3, [R7] ; +0x2a4, 0x5320b0 CMP R2, R3 ; +0x2a6, 0x5320b2 BEQ loc_5320BA ; +0x2a8, 0x5320b4 BLX __stack_chk_fail ; +0x2aa, 0x5320b6 ADD SP, SP, #0x3C ; '<' ; +0x2ae, 0x5320ba VPOP {D8} ; +0x2b0, 0x5320bc POP.W {R4-R11,PC} ; +0x2b4, 0x5320c0