; ; CreateParticlePopup::ccTouchMoved from 0x6669dc to 0x666c94 (696 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CreateParticlePopup::ccTouchMoved @ 0x666cb4 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:55:41 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x6669dc MOV R4, R0 ; +0x4, 0x6669e0 VPUSH {D8} ; +0x6, 0x6669e2 MOV R10, R1 ; +0xa, 0x6669e6 LDR R7, =(__stack_chk_guard_ptr - 0x6669F0) ; +0xc, 0x6669e8 MOV R11, R2 ; +0xe, 0x6669ea ADD R7, PC; __stack_chk_guard_ptr ; +0x10, 0x6669ec LDR R7, [R7]; __stack_chk_guard ; +0x12, 0x6669ee LDR R6, [R1,#0x34] ; +0x14, 0x6669f0 SUB SP, SP, #0x3C; float ; +0x16, 0x6669f2 LDR.W R5, [R0,#0x228] ; +0x18, 0x6669f4 LDR R3, [R7] ; +0x1c, 0x6669f8 CMP R6, R5 ; +0x1e, 0x6669fa STR R3, [SP,#0x3C+var_8] ; +0x20, 0x6669fc BNE.W loc_666C7A ; +0x22, 0x6669fe ADD R6, SP, #0x3C+var_30 ; +0x26, 0x666a02 ADD.W R8, SP, #0x3C+var_18 ; +0x28, 0x666a04 VLDR S16, =180.0 ; +0x2c, 0x666a08 MOV R0, R6; this ; +0x30, 0x666a0c BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x32, 0x666a0e MOV R2, R6 ; +0x36, 0x666a12 MOV R0, R8; this ; +0x38, 0x666a14 LDR.W R1, [R4,#0x24C]; cocos2d::CCPoint * ; +0x3a, 0x666a16 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x3e, 0x666a1a MOV R1, R8 ; +0x42, 0x666a1e MOV R0, R6 ; +0x44, 0x666a20 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x46, 0x666a22 MOVS R1, #0; float ; +0x4a, 0x666a26 MOV R2, R1; float ; +0x4c, 0x666a28 LDR R3, flt_666C98; float ; +0x4e, 0x666a2a VSTR S16, [SP,#0x3C+var_3C] ; +0x50, 0x666a2c MOV R0, R8; this ; +0x54, 0x666a30 BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x56, 0x666a32 LDR.W R0, [R4,#0x220] ; +0x5a, 0x666a36 LDR R3, [R0] ; +0x5e, 0x666a3a LDR.W R3, [R3,#0x31C] ; +0x60, 0x666a3c BLX R3 ; +0x64, 0x666a40 MOV R1, R6; cocos2d::CCPoint * ; +0x66, 0x666a42 MOV R5, R0 ; +0x68, 0x666a44 MOV R0, R8; this ; +0x6a, 0x666a46 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x6c, 0x666a48 CMP R0, #0 ; +0x70, 0x666a4c BEQ.W loc_666C74 ; +0x72, 0x666a4e LDR.W R8, [R4,#0x260] ; +0x76, 0x666a52 CMP.W R8, #0 ; +0x7a, 0x666a56 BNE loc_666A7E ; +0x7e, 0x666a5a LDR.W R8, [R4,#0x220] ; +0x80, 0x666a5c ADD R5, SP, #0x3C+x ; +0x84, 0x666a60 MOV R1, R6 ; +0x86, 0x666a62 ADD.W R2, R4, #0x22C ; +0x88, 0x666a64 MOV R0, R5 ; +0x8c, 0x666a68 LDR.W R3, [R8] ; +0x8e, 0x666a6a LDR.W R9, [R3,#0x5C] ; +0x92, 0x666a6e BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x96, 0x666a72 MOV R0, R8 ; +0x9a, 0x666a76 MOV R1, R5 ; +0x9c, 0x666a78 BLX R9 ; +0x9e, 0x666a7a B loc_666C74 ; +0xa0, 0x666a7c CLZ.W R5, R5 ; +0xa2, 0x666a7e CMP.W R8, #1 ; +0xa6, 0x666a82 MOV.W R5, R5,LSR#5 ; +0xaa, 0x666a86 BNE loc_666AEE ; +0xae, 0x666a8a CMP R5, #0 ; +0xb0, 0x666a8c BEQ loc_666B4C ; +0xb2, 0x666a8e LDR.W R0, [R4,#0x220] ; +0xb4, 0x666a90 LDR R3, [R0] ; +0xb8, 0x666a94 LDR R3, [R3,#0x60] ; +0xba, 0x666a96 BLX R3 ; +0xbc, 0x666a98 MOV R2, R6 ; +0xbe, 0x666a9a MOV R1, R0 ; +0xc0, 0x666a9c ADD R0, SP, #0x3C+x ; +0xc2, 0x666a9e BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xc4, 0x666aa0 VLDR S15, [SP,#0x3C+x] ; +0xc8, 0x666aa4 MOV R0, R4 ; +0xcc, 0x666aa8 MOVS R2, #0xA ; +0xce, 0x666aaa MOVS R3, #0 ; +0xd0, 0x666aac VABS.F32 S15, S15 ; +0xd2, 0x666aae VMOV R1, S15 ; +0xd6, 0x666ab2 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xda, 0x666ab6 VLDR S15, [SP,#0x3C+y] ; +0xde, 0x666aba MOVS R2, #0xB ; +0xe2, 0x666abe MOVS R3, #0 ; +0xe4, 0x666ac0 MOV R0, R4 ; +0xe6, 0x666ac2 VABS.F32 S15, S15 ; +0xe8, 0x666ac4 VMOV R1, S15 ; +0xec, 0x666ac8 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xf0, 0x666acc MOV R0, R4 ; +0xf4, 0x666ad0 MOVS R1, #0xA ; +0xf6, 0x666ad2 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xf8, 0x666ad4 MOV R0, R4 ; +0xfc, 0x666ad8 MOVS R1, #0xA ; +0xfe, 0x666ada BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x100, 0x666adc MOV R0, R4 ; +0x104, 0x666ae0 MOVS R1, #0xB ; +0x106, 0x666ae2 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x108, 0x666ae4 MOV R0, R4 ; +0x10c, 0x666ae8 MOVS R1, #0xB ; +0x10e, 0x666aea B loc_666C70 ; +0x110, 0x666aec CMP.W R8, #2 ; +0x112, 0x666aee BNE loc_666B4C ; +0x116, 0x666af2 CBZ R5, loc_666B4C ; +0x118, 0x666af4 LDR.W R0, [R4,#0x220] ; +0x11a, 0x666af6 ADD R5, SP, #0x3C+var_28 ; +0x11e, 0x666afa LDR R3, [R0] ; +0x120, 0x666afc LDR R3, [R3,#0x60] ; +0x122, 0x666afe BLX R3 ; +0x124, 0x666b00 MOV R2, R6 ; +0x126, 0x666b02 MOV R1, R0 ; +0x128, 0x666b04 MOV R0, R5 ; +0x12a, 0x666b06 BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x12c, 0x666b08 ADD R0, SP, #0x3C+x ; +0x130, 0x666b0c MOV R1, R5 ; +0x132, 0x666b0e LDR R2, =0xC1200000 ; +0x134, 0x666b10 BL _ZNK7cocos2d7CCPointmlEf; cocos2d::CCPoint::operator*(float) ; +0x136, 0x666b12 MOV R0, R4 ; +0x13a, 0x666b16 LDR R1, [SP,#0x3C+x] ; +0x13c, 0x666b18 MOVS R2, #0xC ; +0x13e, 0x666b1a MOVS R3, #0 ; +0x140, 0x666b1c BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x142, 0x666b1e MOVS R2, #0xD ; +0x146, 0x666b22 MOVS R3, #0 ; +0x148, 0x666b24 MOV R0, R4 ; +0x14a, 0x666b26 LDR R1, [SP,#0x3C+y] ; +0x14c, 0x666b28 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x14e, 0x666b2a MOV R0, R4 ; +0x152, 0x666b2e MOVS R1, #0xC ; +0x154, 0x666b30 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x156, 0x666b32 MOV R0, R4 ; +0x15a, 0x666b36 MOVS R1, #0xC ; +0x15c, 0x666b38 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x15e, 0x666b3a MOV R0, R4 ; +0x162, 0x666b3e MOVS R1, #0xD ; +0x164, 0x666b40 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x166, 0x666b42 MOV R0, R4 ; +0x16a, 0x666b46 MOVS R1, #0xD ; +0x16c, 0x666b48 B loc_666C70 ; +0x16e, 0x666b4a ADD.W R3, R8, #0xFFFFFFFF ; +0x170, 0x666b4c CMP R3, #1 ; +0x174, 0x666b50 BHI loc_666BBC ; +0x176, 0x666b52 CMP R5, #0 ; +0x178, 0x666b54 BNE.W loc_666C74 ; +0x17a, 0x666b56 LDR.W R0, [R4,#0x220] ; +0x17e, 0x666b5a ADD.W R9, SP, #0x3C+x ; +0x182, 0x666b5e LDR R3, [R0] ; +0x186, 0x666b62 LDR R3, [R3,#0x60] ; +0x188, 0x666b64 BLX R3 ; +0x18a, 0x666b66 MOV R2, R6 ; +0x18c, 0x666b68 MOV R1, R0 ; +0x18e, 0x666b6a MOV R0, R9 ; +0x190, 0x666b6c BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x192, 0x666b6e MOV R0, R9; this ; +0x196, 0x666b72 BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x198, 0x666b74 CMP.W R8, #1 ; +0x19c, 0x666b78 MOV R0, R9; this ; +0x1a0, 0x666b7c BNE loc_666B9E ; +0x1a2, 0x666b7e BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x1a4, 0x666b80 MOVS R2, #0x32 ; '2' ; +0x1a8, 0x666b84 MOV R3, R5 ; +0x1aa, 0x666b86 MOV R1, R0 ; +0x1ac, 0x666b88 MOV R0, R4 ; +0x1ae, 0x666b8a BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1b0, 0x666b8c MOV R0, R4 ; +0x1b4, 0x666b90 MOVS R1, #0x32 ; '2' ; +0x1b6, 0x666b92 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1b8, 0x666b94 MOV R0, R4 ; +0x1bc, 0x666b98 MOVS R1, #0x32 ; '2' ; +0x1be, 0x666b9a B loc_666C70 ; +0x1c0, 0x666b9c BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x1c2, 0x666b9e MOVS R2, #0x34 ; '4' ; +0x1c6, 0x666ba2 MOV R3, R5 ; +0x1c8, 0x666ba4 MOV R1, R0 ; +0x1ca, 0x666ba6 MOV R0, R4 ; +0x1cc, 0x666ba8 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1ce, 0x666baa MOV R0, R4 ; +0x1d2, 0x666bae MOVS R1, #0x34 ; '4' ; +0x1d4, 0x666bb0 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1d6, 0x666bb2 MOV R0, R4 ; +0x1da, 0x666bb6 MOVS R1, #0x34 ; '4' ; +0x1dc, 0x666bb8 B loc_666C70 ; +0x1de, 0x666bba CMP.W R8, #3 ; +0x1e0, 0x666bbc BNE loc_666C74 ; +0x1e4, 0x666bc0 LDR.W R0, [R4,#0x220] ; +0x1e6, 0x666bc2 ADD.W R8, SP, #0x3C+x ; +0x1ea, 0x666bc6 LDR R3, [R0] ; +0x1ee, 0x666bca LDR R3, [R3,#0x60] ; +0x1f0, 0x666bcc BLX R3 ; +0x1f2, 0x666bce MOV R2, R6 ; +0x1f4, 0x666bd0 MOV R1, R0 ; +0x1f6, 0x666bd2 MOV R0, R8 ; +0x1f8, 0x666bd4 BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x1fa, 0x666bd6 CBZ R5, loc_666BFC ; +0x1fe, 0x666bda MOV R0, R8; this ; +0x200, 0x666bdc BL _ZN7cocos2d9ccpLengthERKNS_7CCPointE; cocos2d::ccpLength(cocos2d::CCPoint const&) ; +0x202, 0x666bde VMOV.F32 S15, #4.0 ; +0x206, 0x666be2 MOVS R2, #8 ; +0x20a, 0x666be6 MOVS R3, #0 ; +0x20c, 0x666be8 VMOV S14, R0 ; +0x20e, 0x666bea MOV R0, R4 ; +0x212, 0x666bee VMUL.F32 S15, S14, S15 ; +0x214, 0x666bf0 VMOV R1, S15 ; +0x218, 0x666bf4 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x21c, 0x666bf8 LDR R0, [SP,#0x3C+y]; y ; +0x220, 0x666bfc LDR R1, [SP,#0x3C+x]; x ; +0x222, 0x666bfe BLX atan2f ; +0x224, 0x666c00 VLDR S15, =57.296 ; +0x228, 0x666c04 VMOV S14, R0 ; +0x22c, 0x666c08 VMUL.F32 S15, S14, S15 ; +0x230, 0x666c0c CBZ R5, loc_666C16 ; +0x234, 0x666c10 VADD.F32 S15, S15, S16 ; +0x236, 0x666c12 VCMPE.F32 S15, S16 ; +0x23a, 0x666c16 VMRS APSR_nzcv, FPSCR ; +0x23e, 0x666c1a BLE loc_666C2A ; +0x242, 0x666c1e VLDR S14, =360.0 ; +0x244, 0x666c20 VSUB.F32 S15, S15, S14 ; +0x248, 0x666c24 B loc_666C40 ; +0x24c, 0x666c28 VLDR S14, =-180.0 ; +0x24e, 0x666c2a VCMPE.F32 S15, S14 ; +0x252, 0x666c2e VMRS APSR_nzcv, FPSCR ; +0x256, 0x666c32 ITT MI ; +0x25a, 0x666c36 VLDRMI S14, =360.0 ; +0x25c, 0x666c38 VADDMI.F32 S15, S15, S14 ; +0x260, 0x666c3c MOV R0, R4 ; +0x264, 0x666c40 MOVS R2, #6 ; +0x266, 0x666c42 MOVS R3, #0 ; +0x268, 0x666c44 VNEG.F32 S15, S15 ; +0x26a, 0x666c46 VMOV R1, S15 ; +0x26e, 0x666c4a BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x272, 0x666c4e CBZ R5, loc_666C64 ; +0x276, 0x666c52 MOV R0, R4 ; +0x278, 0x666c54 MOVS R1, #8 ; +0x27a, 0x666c56 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x27c, 0x666c58 MOV R0, R4 ; +0x280, 0x666c5c MOVS R1, #8 ; +0x282, 0x666c5e BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x284, 0x666c60 MOV R0, R4 ; +0x288, 0x666c64 MOVS R1, #6 ; +0x28a, 0x666c66 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x28c, 0x666c68 MOV R0, R4 ; +0x290, 0x666c6c MOVS R1, #6 ; +0x292, 0x666c6e BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x294, 0x666c70 MOV R0, R4 ; +0x298, 0x666c74 MOV R1, R10 ; +0x29a, 0x666c76 MOV R2, R11 ; +0x29c, 0x666c78 BL _ZN12FLAlertLayer12ccTouchMovedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchMoved(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x29e, 0x666c7a LDR R2, [SP,#0x3C+var_8] ; +0x2a2, 0x666c7e LDR R3, [R7] ; +0x2a4, 0x666c80 CMP R2, R3 ; +0x2a6, 0x666c82 BEQ loc_666C8A ; +0x2a8, 0x666c84 BLX __stack_chk_fail ; +0x2aa, 0x666c86 ADD SP, SP, #0x3C ; '<' ; +0x2ae, 0x666c8a VPOP {D8} ; +0x2b0, 0x666c8c POP.W {R4-R11,PC} ; +0x2b4, 0x666c90