; ; CCTextInputNode::ccTouchBegan from 0x3e25e4 to 0x3e26c8 (228 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::ccTouchBegan @ 0x3e26d4 ; ; 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:47:02 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x3e25e4 SUB SP, SP, #0x2C ; +0x4, 0x3e25e8 LDR.W R8, =(__stack_chk_guard_ptr - 0x3E25F6) ; +0x6, 0x3e25ea MOV R4, R0 ; +0xa, 0x3e25ee MOV R9, R1 ; +0xc, 0x3e25f0 ADD R8, PC; __stack_chk_guard_ptr ; +0xe, 0x3e25f2 LDR.W R8, [R8]; __stack_chk_guard ; +0x10, 0x3e25f4 LDR.W R3, [R8] ; +0x14, 0x3e25f8 STR R3, [SP,#0x2C+var_8] ; +0x18, 0x3e25fc BL _ZN15CCTextInputNode15isVisibleInTreeEv; CCTextInputNode::isVisibleInTree(void) ; +0x1a, 0x3e25fe MOV R7, R0 ; +0x1e, 0x3e2602 CMP R0, #0 ; +0x20, 0x3e2604 BEQ loc_3E26B2 ; +0x22, 0x3e2606 ADD R6, SP, #0x2C+var_28 ; +0x24, 0x3e2608 MOV R1, R9 ; +0x26, 0x3e260a MOV R0, R6; this ; +0x28, 0x3e260c BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x2a, 0x3e260e MOV R0, R4; lpsrc ; +0x2e, 0x3e2612 MOV R1, R6 ; +0x30, 0x3e2614 BL _ZN7cocos2d24ccTouchClippedByAncestorEPNS_6CCNodeERKNS_7CCPointE; cocos2d::ccTouchClippedByAncestor(cocos2d::CCNode *,cocos2d::CCPoint const&) ; +0x32, 0x3e2616 CBZ R0, loc_3E2620 ; +0x36, 0x3e261a MOVS R7, #0 ; +0x38, 0x3e261c B loc_3E26B2 ; +0x3a, 0x3e261e ADD R5, SP, #0x2C+var_18 ; +0x3c, 0x3e2620 MOV R1, R6; cocos2d::CCPoint * ; +0x3e, 0x3e2622 MOV R0, R5; this ; +0x40, 0x3e2624 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x42, 0x3e2626 MOV R0, R4 ; +0x46, 0x3e262a MOV R1, R5 ; +0x48, 0x3e262c BL _ZN15CCTextInputNode18containsTouchPointEN7cocos2d7CCPointE; CCTextInputNode::containsTouchPoint(cocos2d::CCPoint) ; +0x4a, 0x3e262e MOV R7, R0 ; +0x4e, 0x3e2632 CBNZ R0, loc_3E2654 ; +0x50, 0x3e2634 LDRB.W R3, [R4,#0x158] ; +0x52, 0x3e2636 CMP R3, #0 ; +0x56, 0x3e263a BEQ loc_3E261C ; +0x58, 0x3e263c LDRB.W R3, [R4,#0x1BA] ; +0x5a, 0x3e263e CMP R3, #0 ; +0x5e, 0x3e2642 BEQ loc_3E261C ; +0x60, 0x3e2644 LDR R3, [R4] ; +0x62, 0x3e2646 MOV R0, R4 ; +0x64, 0x3e2648 MOV R1, R7 ; +0x66, 0x3e264a LDR.W R3, [R3,#0x244] ; +0x68, 0x3e264c BLX R3 ; +0x6c, 0x3e2650 B loc_3E26B2 ; +0x6e, 0x3e2652 LDR.W R0, [R4,#0x1C4]; this ; +0x70, 0x3e2654 CBZ R0, loc_3E2662 ; +0x74, 0x3e2658 MOV R1, R9; cocos2d::CCTouch * ; +0x76, 0x3e265a BL _ZN22ScrollableContentLayer16handleTouchBeganEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchBegan(cocos2d::CCTouch *) ; +0x78, 0x3e265c B loc_3E26A2 ; +0x7c, 0x3e2660 LDR.W R0, [R4,#0x1A4] ; +0x7e, 0x3e2662 CBZ R0, loc_3E2674 ; +0x82, 0x3e2666 LDR R3, [R0] ; +0x84, 0x3e2668 MOV R1, R4 ; +0x86, 0x3e266a LDR R3, [R3,#0x14] ; +0x88, 0x3e266c BLX R3 ; +0x8a, 0x3e266e CMP R0, #0 ; +0x8c, 0x3e2670 BEQ loc_3E261C ; +0x8e, 0x3e2672 LDR R3, [R4] ; +0x90, 0x3e2674 ADD.W R9, SP, #0x2C+var_20 ; +0x92, 0x3e2676 MOV R0, R4 ; +0x96, 0x3e267a MOVS R1, #1 ; +0x98, 0x3e267c LDR.W R3, [R3,#0x244] ; +0x9a, 0x3e267e BLX R3 ; +0x9e, 0x3e2682 MOV R1, R6; cocos2d::CCPoint * ; +0xa0, 0x3e2684 MOV R0, R9; this ; +0xa2, 0x3e2686 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xa4, 0x3e2688 LDR R1, =(unk_D2B358 - 0x3E2694) ; +0xa8, 0x3e268c MOV R0, R5; this ; +0xaa, 0x3e268e ADD R1, PC; unk_D2B358 ; +0xac, 0x3e2690 ADDS R1, #(unk_D2B360 - 0xD2B358); cocos2d::CCRect * ; +0xae, 0x3e2692 BL _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0xb0, 0x3e2694 MOV R0, R4 ; +0xb4, 0x3e2698 MOV R1, R9 ; +0xb6, 0x3e269a MOV R2, R5 ; +0xb8, 0x3e269c BL _ZN15CCTextInputNode20updateCursorPositionEN7cocos2d7CCPointENS0_6CCRectE; CCTextInputNode::updateCursorPosition(cocos2d::CCPoint,cocos2d::CCRect) ; +0xba, 0x3e269e MOV R1, R6; cocos2d::CCPoint * ; +0xbe, 0x3e26a2 MOV R0, R5; this ; +0xc0, 0x3e26a4 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xc2, 0x3e26a6 MOV R0, R4 ; +0xc6, 0x3e26aa MOV R1, R5 ; +0xc8, 0x3e26ac BL _ZN15CCTextInputNode7armHoldEN7cocos2d7CCPointE; CCTextInputNode::armHold(cocos2d::CCPoint) ; +0xca, 0x3e26ae LDR R2, [SP,#0x2C+var_8] ; +0xce, 0x3e26b2 MOV R0, R7 ; +0xd0, 0x3e26b4 LDR.W R3, [R8] ; +0xd2, 0x3e26b6 CMP R2, R3 ; +0xd6, 0x3e26ba BEQ loc_3E26C2 ; +0xd8, 0x3e26bc BLX __stack_chk_fail ; +0xda, 0x3e26be ADD SP, SP, #0x2C ; ',' ; +0xde, 0x3e26c2 POP.W {R4-R9,PC} ; +0xe0, 0x3e26c4