; ; BoomScrollLayer::ccTouchEnded from 0x2e2668 to 0x2e27c4 (348 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'BoomScrollLayer::ccTouchEnded @ 0x2e27dc ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x2E2672) ; +0x0, 0x2e2668 PUSH.W {R4-R8,LR} ; +0x2, 0x2e266a ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x2e266e LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x2e2670 VPUSH {D8} ; +0xa, 0x2e2672 MOV R4, R0 ; +0xe, 0x2e2676 LDR R2, [R3] ; +0x10, 0x2e2678 MOV R7, R3 ; +0x12, 0x2e267a SUB SP, SP, #0x18 ; +0x14, 0x2e267c STR R2, [SP,#0x18+var_4] ; +0x16, 0x2e267e LDR.W R2, [R0,#0x164] ; +0x18, 0x2e2680 CMP R2, R1 ; +0x1c, 0x2e2684 BNE.W loc_2E27AE ; +0x1e, 0x2e2686 ADD R5, SP, #0x18+var_14 ; +0x22, 0x2e268a MOV.W R8, #0 ; +0x24, 0x2e268c STR.W R8, [R0,#0x164] ; +0x28, 0x2e2690 ADD R6, SP, #0x18+var_C ; +0x2c, 0x2e2694 MOV R0, R5; this ; +0x2e, 0x2e2696 BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x30, 0x2e2698 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x2e269c MOV R2, R5 ; +0x38, 0x2e26a0 MOV R1, R0; cocos2d::CCPoint * ; +0x3a, 0x2e26a2 MOV R0, R6; this ; +0x3c, 0x2e26a4 BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x3e, 0x2e26a6 MOV R0, R5 ; +0x42, 0x2e26aa MOV R1, R6 ; +0x44, 0x2e26ac BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x46, 0x2e26ae VLDR S15, [R4,#0x144] ; +0x4a, 0x2e26b2 MOV R0, R8; clock_id ; +0x4e, 0x2e26b6 MOV R1, R6; tp ; +0x50, 0x2e26b8 LDR.W R5, [R4,#0x1CC] ; +0x52, 0x2e26ba VLDR S16, [SP,#0x18+var_14] ; +0x56, 0x2e26be VSUB.F32 S16, S16, S15 ; +0x5a, 0x2e26c2 BLX clock_gettime ; +0x5e, 0x2e26c6 VLDR S15, [SP,#0x18+var_C] ; +0x62, 0x2e26ca VLDR D5, =1.0e9 ; +0x66, 0x2e26ce VCVT.F64.S32 D6, S15 ; +0x6a, 0x2e26d2 VLDR S15, [SP,#0x18+var_8] ; +0x6e, 0x2e26d6 VCVT.F64.S32 D7, S15 ; +0x72, 0x2e26da VDIV.F64 D7, D7, D5 ; +0x76, 0x2e26de VADD.F64 D7, D6, D7 ; +0x7a, 0x2e26e2 VLDR D6, [R4,#0x170] ; +0x7e, 0x2e26e6 VSUB.F64 D6, D7, D6 ; +0x82, 0x2e26ea VABS.F32 S11, S16 ; +0x86, 0x2e26ee VCMP.F64 D6, #0.0 ; +0x8a, 0x2e26f2 VMRS APSR_nzcv, FPSCR ; +0x8e, 0x2e26f6 ITETE NE ; +0x92, 0x2e26fa VCVTNE.F64.F32 D7, S11 ; +0x94, 0x2e26fc VLDREQ S14, [R4,#0x198] ; +0x98, 0x2e2700 VDIVNE.F64 D7, D7, D6 ; +0x9c, 0x2e2704 VMOVEQ.F32 S15, #1.0 ; +0xa0, 0x2e2708 ITE EQ ; +0xa4, 0x2e270c VADDEQ.F32 S14, S14, S15 ; +0xa6, 0x2e270e VCVTNE.F32.F64 S14, D7 ; +0xaa, 0x2e2712 VLDR S15, [R4,#0x1B0] ; +0xae, 0x2e2716 VCMPE.F32 S11, S15 ; +0xb2, 0x2e271a VSTR S14, [R4,#0x148] ; +0xb6, 0x2e271e VMRS APSR_nzcv, FPSCR ; +0xba, 0x2e2722 BGE loc_2E2748 ; +0xbe, 0x2e2726 VLDR S13, [R4,#0x194] ; +0xc0, 0x2e2728 VCMPE.F32 S14, S13 ; +0xc4, 0x2e272c VMRS APSR_nzcv, FPSCR ; +0xc8, 0x2e2730 BLE loc_2E279C ; +0xcc, 0x2e2734 VMOV.F32 S14, #0.25 ; +0xce, 0x2e2736 VMUL.F32 S15, S15, S14 ; +0xd2, 0x2e273a VCMPE.F32 S11, S15 ; +0xd6, 0x2e273e VMRS APSR_nzcv, FPSCR ; +0xda, 0x2e2742 BLT loc_2E279C ; +0xde, 0x2e2746 LDR.W R0, [R4,#0x180] ; +0xe0, 0x2e2748 LDR R3, [R0] ; +0xe4, 0x2e274c LDR R3, [R3,#0x60] ; +0xe6, 0x2e274e BLX R3 ; +0xe8, 0x2e2750 MOV R1, R0; cocos2d::CCPoint * ; +0xea, 0x2e2752 MOV R0, R6; this ; +0xec, 0x2e2754 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xee, 0x2e2756 MOV R0, R4 ; +0xf2, 0x2e275a MOV R1, R6 ; +0xf4, 0x2e275c BL _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0xf6, 0x2e275e LDR.W R3, [R4,#0x1CC] ; +0xfa, 0x2e2762 CMP R0, R3 ; +0xfe, 0x2e2766 MOV R5, R0 ; +0x100, 0x2e2768 BNE loc_2E279C ; +0x102, 0x2e276a VCMPE.F32 S16, #0.0 ; +0x104, 0x2e276c VMRS APSR_nzcv, FPSCR ; +0x108, 0x2e2770 BPL loc_2E2788 ; +0x10c, 0x2e2774 LDRB.W R3, [R4,#0x14C] ; +0x10e, 0x2e2776 CBNZ R3, loc_2E27A6 ; +0x112, 0x2e277a MOV R0, R4; this ; +0x114, 0x2e277c BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x116, 0x2e277e SUBS R0, #1 ; +0x11a, 0x2e2782 CMP R5, R0 ; +0x11c, 0x2e2784 BLT loc_2E27A6 ; +0x11e, 0x2e2786 VCMPE.F32 S16, #0.0 ; +0x120, 0x2e2788 VMRS APSR_nzcv, FPSCR ; +0x124, 0x2e278c BLE loc_2E279C ; +0x128, 0x2e2790 LDRB.W R3, [R4,#0x14C] ; +0x12a, 0x2e2792 CBNZ R3, loc_2E27AA ; +0x12e, 0x2e2796 CMP R5, #0 ; +0x130, 0x2e2798 BGT loc_2E27AA ; +0x132, 0x2e279a MOV R0, R4; this ; +0x134, 0x2e279c MOV R1, R5; int ; +0x136, 0x2e279e BL _ZN15BoomScrollLayer10moveToPageEi; BoomScrollLayer::moveToPage(int) ; +0x138, 0x2e27a0 B loc_2E27AE ; +0x13c, 0x2e27a4 ADDS R5, #1 ; +0x13e, 0x2e27a6 B loc_2E279C ; +0x140, 0x2e27a8 SUBS R5, #1 ; +0x142, 0x2e27aa B loc_2E279C ; +0x144, 0x2e27ac LDR R2, [SP,#0x18+var_4] ; +0x146, 0x2e27ae LDR R3, [R7] ; +0x148, 0x2e27b0 CMP R2, R3 ; +0x14a, 0x2e27b2 BEQ loc_2E27BA ; +0x14c, 0x2e27b4 BLX __stack_chk_fail ; +0x14e, 0x2e27b6 ADD SP, SP, #0x18 ; +0x152, 0x2e27ba VPOP {D8} ; +0x154, 0x2e27bc POP.W {R4-R8,PC} ; +0x158, 0x2e27c0