; ; CCScrollLayerExt::ccTouchEnded from 0x2e88e0 to 0x2e8a84 (420 bytes) ; ; 2 xrefs: ; > `non-virtual thunk to'CCScrollLayerExt::ccTouchEnded @ 0x2e8a9c ; > TableView::ccTouchEnded @ 0x2ea59a ; ; 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-R9,LR} ; +0x0, 0x2e88e0 MOV R4, R0 ; +0x4, 0x2e88e4 VPUSH {D8-D9} ; +0x6, 0x2e88e6 MOV R8, R1 ; +0xa, 0x2e88ea LDR R6, =(__stack_chk_guard_ptr - 0x2E88F2) ; +0xc, 0x2e88ec ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x2e88ee LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x2e88f0 SUB SP, SP, #0x34 ; +0x12, 0x2e88f2 LDR R3, [R6] ; +0x14, 0x2e88f4 ADD R5, SP, #0x34+var_30 ; +0x16, 0x2e88f6 ADD R7, SP, #0x24 ; +0x18, 0x2e88f8 MOV R0, R5; this ; +0x1a, 0x2e88fa STR R3, [SP,#0x34+var_8] ; +0x1c, 0x2e88fc BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x1e, 0x2e88fe BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x22, 0x2e8902 MOV R2, R5 ; +0x26, 0x2e8906 MOV R1, R0; cocos2d::CCPoint * ; +0x28, 0x2e8908 MOV R0, R7; this ; +0x2a, 0x2e890a BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x2c, 0x2e890c MOV R0, R5 ; +0x30, 0x2e8910 MOV R1, R7 ; +0x32, 0x2e8912 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x34, 0x2e8914 LDR.W R3, [R4,#0x13C] ; +0x38, 0x2e8918 CMP R8, R3 ; +0x3c, 0x2e891c BNE.W loc_2E8A5C ; +0x3e, 0x2e891e ADD.W R8, SP, #0x34+var_28 ; +0x42, 0x2e8922 ADD.W R9, R4, #0x148 ; +0x46, 0x2e8926 MOVS R1, #0 ; +0x4a, 0x2e892a MOV R0, R8 ; +0x4c, 0x2e892c BL _ZN7cocos2d6CCTime19gettimeofdayCocos2dEPNS_10cc_timevalEPv; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x4e, 0x2e892e MOV R1, R9; cocos2d::CCPoint * ; +0x52, 0x2e8932 MOV R0, R5; this ; +0x54, 0x2e8934 BL _ZN7cocos2d11ccpDistanceERKNS_7CCPointES2_; cocos2d::ccpDistance(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x56, 0x2e8936 MOV R1, R8 ; +0x5a, 0x2e893a VMOV S16, R0 ; +0x5c, 0x2e893c ADD.W R0, R4, #0x150 ; +0x60, 0x2e8940 BL _ZN7cocos2d6CCTime15timersubCocos2dEPNS_10cc_timevalES2_; cocos2d::CCTime::timersubCocos2d(cocos2d::cc_timeval *,cocos2d::cc_timeval *) ; +0x64, 0x2e8944 VMOV D7, R0, R1 ; +0x68, 0x2e8948 VCVT.F32.F64 S15, D7 ; +0x6c, 0x2e894c VDIV.F32 S16, S16, S15 ; +0x70, 0x2e8950 VMOV.F32 S15, #0.5 ; +0x74, 0x2e8954 VCMPE.F32 S16, S15 ; +0x78, 0x2e8958 VMRS APSR_nzcv, FPSCR ; +0x7c, 0x2e895c BLT loc_2E8A56 ; +0x80, 0x2e8960 ADD.W R8, SP, #0x34+var_20 ; +0x82, 0x2e8962 LDR.W R0, [R4,#0x168]; this ; +0x86, 0x2e8966 BL _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x8a, 0x2e896a MOV R1, R5 ; +0x8e, 0x2e896e MOV R0, R8 ; +0x90, 0x2e8970 MOV R2, R9 ; +0x92, 0x2e8972 BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x94, 0x2e8974 LDRB.W R3, [R4,#0x170] ; +0x98, 0x2e8978 CBZ R3, loc_2E8984 ; +0x9c, 0x2e897c MOVS R3, #0 ; +0x9e, 0x2e897e STR R3, [SP,#0x34+var_1C] ; +0xa0, 0x2e8980 B loc_2E898E ; +0xa2, 0x2e8982 LDRB.W R3, [R4,#0x16F] ; +0xa4, 0x2e8984 CBZ R3, loc_2E898E ; +0xa8, 0x2e8988 MOVS R3, #0 ; +0xaa, 0x2e898a STR R3, [SP,#0x34+var_20] ; +0xac, 0x2e898c MOV R0, R4; this ; +0xae, 0x2e898e BL _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0xb0, 0x2e8990 VLDR S18, [R4,#0x17C] ; +0xb4, 0x2e8994 VMOV S16, R0 ; +0xb8, 0x2e8998 MOV R0, R4; this ; +0xbc, 0x2e899c BL _ZN16CCScrollLayerExt7getMaxYEv; CCScrollLayerExt::getMaxY(void) ; +0xbe, 0x2e899e VLDR S17, [R4,#0x180] ; +0xc2, 0x2e89a2 VMOV S15, R0 ; +0xc6, 0x2e89a6 LDR.W R0, [R4,#0x168] ; +0xca, 0x2e89aa VADD.F32 S17, S15, S17 ; +0xce, 0x2e89ae LDR R3, [R0] ; +0xd2, 0x2e89b2 LDR R3, [R3,#0x60] ; +0xd4, 0x2e89b4 BLX R3 ; +0xd6, 0x2e89b6 MOV R1, R0; cocos2d::CCPoint * ; +0xd8, 0x2e89b8 ADD R0, SP, #0x34+var_18; this ; +0xda, 0x2e89ba BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xdc, 0x2e89bc VLDR S13, [SP,#0x34+var_14] ; +0xe0, 0x2e89c0 VLDR S14, [SP,#0x34+var_1C] ; +0xe4, 0x2e89c4 VADD.F32 S14, S13, S14 ; +0xe8, 0x2e89c8 VCMPE.F32 S14, S17 ; +0xec, 0x2e89cc VMRS APSR_nzcv, FPSCR ; +0xf0, 0x2e89d0 BLE loc_2E89E0 ; +0xf4, 0x2e89d4 VSUB.F32 S17, S17, S13 ; +0xf6, 0x2e89d6 VSTR S17, [SP,#0x34+var_1C] ; +0xfa, 0x2e89da B loc_2E89F6 ; +0xfe, 0x2e89de VSUB.F32 S15, S16, S18 ; +0x100, 0x2e89e0 VCMPE.F32 S14, S15 ; +0x104, 0x2e89e4 VMRS APSR_nzcv, FPSCR ; +0x108, 0x2e89e8 BPL loc_2E89FA ; +0x10c, 0x2e89ec VSUB.F32 S15, S15, S13 ; +0x10e, 0x2e89ee VSTR S15, [SP,#0x34+var_1C] ; +0x112, 0x2e89f2 LDR R5, =0x3DCCCCCD ; +0x116, 0x2e89f6 B loc_2E89FC ; +0x118, 0x2e89f8 LDR R5, =0x3E99999A ; +0x11a, 0x2e89fa LDR.W R0, [R4,#0x164] ; +0x11c, 0x2e89fc CBZ R0, loc_2E8A0A ; +0x120, 0x2e8a00 LDR R3, [R0] ; +0x122, 0x2e8a02 MOV R1, R4 ; +0x124, 0x2e8a04 LDR R3, [R3] ; +0x126, 0x2e8a06 BLX R3 ; +0x128, 0x2e8a08 MOV R0, R4; this ; +0x12a, 0x2e8a0a BL _ZN16CCScrollLayerExt17constraintContentEv; CCScrollLayerExt::constraintContent(void) ; +0x12c, 0x2e8a0c MOV R1, R8; float ; +0x130, 0x2e8a10 MOV R0, R5; this ; +0x132, 0x2e8a12 MOVS R5, #0 ; +0x134, 0x2e8a14 BL _ZN7cocos2d8CCMoveBy6createEfRKNS_7CCPointE; cocos2d::CCMoveBy::create(float,cocos2d::CCPoint const&) ; +0x136, 0x2e8a16 MOV.W R1, #0x40000000; cocos2d::CCActionInterval * ; +0x13a, 0x2e8a1a BL _ZN7cocos2d9CCEaseOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x13e, 0x2e8a1e LDR R3, =(_ZN16CCScrollLayerExt17constraintContentEv_ptr - 0x2E8A2A) ; +0x142, 0x2e8a22 STR R5, [SP,#0x34+var_C] ; +0x144, 0x2e8a24 ADD R3, PC; _ZN16CCScrollLayerExt17constraintContentEv_ptr ; +0x146, 0x2e8a26 LDR R3, [R3]; CCScrollLayerExt::constraintContent(void) ; +0x148, 0x2e8a28 STR R3, [SP,#0x34+var_10] ; +0x14a, 0x2e8a2a LDM.W R7, {R1,R2} ; +0x14c, 0x2e8a2c MOV R8, R0 ; +0x150, 0x2e8a30 MOV R0, R4 ; +0x152, 0x2e8a32 BL _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x154, 0x2e8a34 MOV R2, R5 ; +0x158, 0x2e8a38 LDR.W R7, [R4,#0x168] ; +0x15a, 0x2e8a3a MOV R1, R0; cocos2d::CCFiniteTimeAction * ; +0x15e, 0x2e8a3e MOV R0, R8; this ; +0x160, 0x2e8a40 BL _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x162, 0x2e8a42 MOV R1, R0; cocos2d::CCAction * ; +0x166, 0x2e8a46 MOV R0, R7; this ; +0x168, 0x2e8a48 BL _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x16a, 0x2e8a4a MOVS R3, #1 ; +0x16e, 0x2e8a4e STRB.W R3, [R4,#0x159] ; +0x170, 0x2e8a50 B loc_2E8A5C ; +0x174, 0x2e8a54 MOV R0, R4; this ; +0x176, 0x2e8a56 BL _ZN16CCScrollLayerExt17constraintContentEv; CCScrollLayerExt::constraintContent(void) ; +0x178, 0x2e8a58 LDR R1, =(stru_AC53F0 - 0x2E8A6C) ; +0x17c, 0x2e8a5c MOVS R3, #0 ; +0x17e, 0x2e8a5e ADD.W R0, R4, #0x140 ; +0x180, 0x2e8a60 STRB.W R3, [R4,#0x158] ; +0x184, 0x2e8a64 ADD R1, PC; stru_AC53F0 ; +0x188, 0x2e8a68 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x18a, 0x2e8a6a LDR R2, [SP,#0x34+var_8] ; +0x18e, 0x2e8a6e LDR R3, [R6] ; +0x190, 0x2e8a70 CMP R2, R3 ; +0x192, 0x2e8a72 BEQ loc_2E8A7A ; +0x194, 0x2e8a74 BLX __stack_chk_fail ; +0x196, 0x2e8a76 ADD SP, SP, #0x34 ; '4' ; +0x19a, 0x2e8a7a VPOP {D8-D9} ; +0x19c, 0x2e8a7c POP.W {R4-R9,PC} ; +0x1a0, 0x2e8a80