; ; BoomScrollLayer::ccTouchMoved from 0x2e2a10 to 0x2e2ba0 (400 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'BoomScrollLayer::ccTouchMoved @ 0x2e2bac ; ; 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-R10,LR} ; +0x0, 0x2e2a10 MOV R10, R2 ; +0x4, 0x2e2a14 LDR R2, =(__stack_chk_guard_ptr - 0x2E2A22) ; +0x6, 0x2e2a16 MOV R4, R0 ; +0x8, 0x2e2a18 VPUSH {D8-D9} ; +0xa, 0x2e2a1a ADD R2, PC; __stack_chk_guard_ptr ; +0xe, 0x2e2a1e LDR R2, [R2]; __stack_chk_guard ; +0x10, 0x2e2a20 LDR.W R8, [R0,#0x164] ; +0x12, 0x2e2a22 LDR R3, [R2] ; +0x16, 0x2e2a26 CMP R8, R1 ; +0x18, 0x2e2a28 SUB SP, SP, #0x18 ; +0x1a, 0x2e2a2a MOV R6, R2 ; +0x1c, 0x2e2a2c STR R3, [SP,#0x18+var_4] ; +0x1e, 0x2e2a2e BNE.W loc_2E2B8A ; +0x20, 0x2e2a30 LDRB.W R9, [R0,#0x1EC] ; +0x24, 0x2e2a34 CMP.W R9, #0 ; +0x28, 0x2e2a38 BNE.W loc_2E2B8A ; +0x2c, 0x2e2a3c ADD R7, SP, #0x18+var_14 ; +0x30, 0x2e2a40 ADD R5, SP, #0x18+var_C ; +0x32, 0x2e2a42 MOV R0, R7; this ; +0x34, 0x2e2a44 BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x36, 0x2e2a46 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x3a, 0x2e2a4a MOV R2, R7 ; +0x3e, 0x2e2a4e MOV R1, R0; cocos2d::CCPoint * ; +0x40, 0x2e2a50 MOV R0, R5; this ; +0x42, 0x2e2a52 BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x44, 0x2e2a54 MOV R0, R7 ; +0x48, 0x2e2a58 MOV R1, R5 ; +0x4a, 0x2e2a5a BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x4c, 0x2e2a5c LDR.W R3, [R4,#0x15C] ; +0x50, 0x2e2a60 CMP R3, #1 ; +0x54, 0x2e2a64 BEQ loc_2E2ABE ; +0x56, 0x2e2a66 VLDR S14, [R4,#0x144] ; +0x58, 0x2e2a68 VLDR S15, [SP,#0x18+var_14] ; +0x5c, 0x2e2a6c VSUB.F32 S15, S15, S14 ; +0x60, 0x2e2a70 VLDR S14, [R4,#0x1AC] ; +0x64, 0x2e2a74 VABS.F32 S15, S15 ; +0x68, 0x2e2a78 VCMPE.F32 S15, S14 ; +0x6c, 0x2e2a7c VMRS APSR_nzcv, FPSCR ; +0x70, 0x2e2a80 BLT loc_2E2ABE ; +0x74, 0x2e2a84 LDR.W R0, [R4,#0x180]; this ; +0x76, 0x2e2a86 MOVS R1, #2; int ; +0x7a, 0x2e2a8a BL _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x7c, 0x2e2a8c MOVS R3, #1 ; +0x80, 0x2e2a90 STR.W R3, [R4,#0x15C] ; +0x82, 0x2e2a92 LDR R3, [SP,#0x18+var_14] ; +0x86, 0x2e2a96 STRB.W R9, [R4,#0x1A8] ; +0x88, 0x2e2a98 STR.W R3, [R4,#0x144] ; +0x8c, 0x2e2a9c LDRB.W R3, [R4,#0x1B8] ; +0x90, 0x2e2aa0 CBZ R3, loc_2E2AB0 ; +0x94, 0x2e2aa4 MOV R0, R4 ; +0x96, 0x2e2aa6 MOV R1, R8 ; +0x98, 0x2e2aa8 MOV R2, R10 ; +0x9a, 0x2e2aaa BL _ZN15BoomScrollLayer19cancelAndStoleTouchEPN7cocos2d7CCTouchEPNS0_7CCEventE; BoomScrollLayer::cancelAndStoleTouch(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x9c, 0x2e2aac LDR.W R0, [R4,#0x1A4] ; +0xa0, 0x2e2ab0 CBZ R0, loc_2E2ABE ; +0xa4, 0x2e2ab4 LDR R3, [R0] ; +0xa6, 0x2e2ab6 MOV R1, R4 ; +0xa8, 0x2e2ab8 LDR R3, [R3] ; +0xaa, 0x2e2aba BLX R3 ; +0xac, 0x2e2abc LDR.W R3, [R4,#0x15C] ; +0xae, 0x2e2abe CMP R3, #1 ; +0xb2, 0x2e2ac2 BNE loc_2E2B8A ; +0xb4, 0x2e2ac4 LDR.W R3, [R4,#0x1CC] ; +0xb6, 0x2e2ac6 MOV R0, R4 ; +0xba, 0x2e2aca NEGS R3, R3 ; +0xbc, 0x2e2acc VMOV S15, R3 ; +0xbe, 0x2e2ace LDR R3, [R4] ; +0xc2, 0x2e2ad2 VCVT.F32.S32 S16, S15 ; +0xc4, 0x2e2ad4 LDR.W R3, [R3,#0x9C] ; +0xc8, 0x2e2ad8 BLX R3 ; +0xcc, 0x2e2adc VLDR S14, [R4,#0x1D0] ; +0xce, 0x2e2ade MOVS R2, #0; float ; +0xd2, 0x2e2ae2 VLDR S17, [SP,#0x18+var_14] ; +0xd4, 0x2e2ae4 VLDR S15, [R0] ; +0xd8, 0x2e2ae8 MOV R0, R5; this ; +0xdc, 0x2e2aec VSUB.F32 S15, S15, S14 ; +0xde, 0x2e2aee VMLA.F32 S17, S16, S15 ; +0xe2, 0x2e2af2 VLDR S15, [R4,#0x144] ; +0xe6, 0x2e2af6 VSUB.F32 S17, S17, S15 ; +0xea, 0x2e2afa VMOV R1, S17; float ; +0xee, 0x2e2afe BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xf2, 0x2e2b02 MOV R1, R5 ; +0xf6, 0x2e2b06 MOV R0, R4 ; +0xf8, 0x2e2b08 BL _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0xfa, 0x2e2b0a MOV R1, R4; int ; +0xfe, 0x2e2b0e MOV R7, R0 ; +0x100, 0x2e2b10 MOV R0, R5; this ; +0x102, 0x2e2b12 MOV R2, R7 ; +0x104, 0x2e2b14 BL _ZN15BoomScrollLayer25positionForPageWithNumberEi; BoomScrollLayer::positionForPageWithNumber(int) ; +0x106, 0x2e2b16 VLDR S16, [SP,#0x18+var_C] ; +0x10a, 0x2e2b1a VSUB.F32 S16, S17, S16 ; +0x10e, 0x2e2b1e CBNZ R7, loc_2E2B2E ; +0x112, 0x2e2b22 VCMPE.F32 S16, #0.0 ; +0x114, 0x2e2b24 VMRS APSR_nzcv, FPSCR ; +0x118, 0x2e2b28 BGT loc_2E2B68 ; +0x11c, 0x2e2b2c MOV R0, R4; this ; +0x11e, 0x2e2b2e BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x120, 0x2e2b30 SUBS R0, #1 ; +0x124, 0x2e2b34 CMP R7, R0 ; +0x126, 0x2e2b36 BNE loc_2E2B44 ; +0x128, 0x2e2b38 VCMPE.F32 S16, #0.0 ; +0x12a, 0x2e2b3a VMRS APSR_nzcv, FPSCR ; +0x12e, 0x2e2b3e BMI loc_2E2B68 ; +0x132, 0x2e2b42 VLDR S16, =0.0 ; +0x134, 0x2e2b44 LDR.W R4, [R4,#0x180] ; +0x138, 0x2e2b48 MOV R0, R5; this ; +0x13c, 0x2e2b4c MOVS R2, #0; float ; +0x13e, 0x2e2b4e VSUB.F32 S15, S17, S16 ; +0x140, 0x2e2b50 LDR R3, [R4] ; +0x144, 0x2e2b54 LDR R7, [R3,#0x5C] ; +0x146, 0x2e2b56 VMOV R1, S15; float ; +0x148, 0x2e2b58 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x14c, 0x2e2b5c MOV R0, R4 ; +0x150, 0x2e2b60 MOV R1, R5 ; +0x152, 0x2e2b62 BLX R7 ; +0x154, 0x2e2b64 B loc_2E2B8A ; +0x156, 0x2e2b66 VLDR S18, [R4,#0x1B4] ; +0x158, 0x2e2b68 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x15c, 0x2e2b6c VMUL.F32 S18, S16, S18 ; +0x160, 0x2e2b70 MOV R1, R0 ; +0x164, 0x2e2b74 MOV R0, R5; this ; +0x166, 0x2e2b76 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x168, 0x2e2b78 VLDR S15, [SP,#0x18+var_C] ; +0x16c, 0x2e2b7c VDIV.F32 S18, S18, S15 ; +0x170, 0x2e2b80 VSUB.F32 S16, S16, S18 ; +0x174, 0x2e2b84 B loc_2E2B48 ; +0x178, 0x2e2b88 LDR R2, [SP,#0x18+var_4] ; +0x17a, 0x2e2b8a LDR R3, [R6] ; +0x17c, 0x2e2b8c CMP R2, R3 ; +0x17e, 0x2e2b8e BEQ loc_2E2B96 ; +0x180, 0x2e2b90 BLX __stack_chk_fail ; +0x182, 0x2e2b92 ADD SP, SP, #0x18 ; +0x186, 0x2e2b96 VPOP {D8-D9} ; +0x188, 0x2e2b98 POP.W {R4-R10,PC} ; +0x18c, 0x2e2b9c