; ; CCTextInputNode::rightClick from 0x3e2820 to 0x3e28fa (218 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::rightClick @ 0x3e2908 ; ; 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, 0x3e2820 SUB SP, SP, #0x2C ; +0x4, 0x3e2824 LDR R6, =(__stack_chk_guard_ptr - 0x3E2832) ; +0x6, 0x3e2826 MOV R4, R0 ; +0x8, 0x3e2828 MOV R9, R1 ; +0xa, 0x3e282a MOV R5, R2 ; +0xc, 0x3e282c ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x3e282e LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x3e2830 LDR R3, [R6] ; +0x12, 0x3e2832 STR R3, [SP,#0x2C+var_8] ; +0x14, 0x3e2834 BL _ZN15CCTextInputNode15isVisibleInTreeEv; CCTextInputNode::isVisibleInTree(void) ; +0x16, 0x3e2836 CBNZ R0, loc_3E2842 ; +0x1a, 0x3e283a MOV.W R8, #0 ; +0x1c, 0x3e283c B loc_3E28E2 ; +0x20, 0x3e2840 LDR R3, [R4] ; +0x22, 0x3e2842 MOV R0, R4 ; +0x24, 0x3e2844 LDR.W R3, [R3,#0x1F0] ; +0x26, 0x3e2846 BLX R3 ; +0x2a, 0x3e284a MOV R8, R0 ; +0x2c, 0x3e284c CMP R0, #0 ; +0x2e, 0x3e284e BEQ loc_3E283C ; +0x30, 0x3e2850 ADD R7, SP, #0x2C+var_28 ; +0x32, 0x3e2852 MOV R1, R9; float ; +0x34, 0x3e2854 MOV R2, R5; float ; +0x36, 0x3e2856 MOV R0, R7; this ; +0x38, 0x3e2858 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3a, 0x3e285a MOV R0, R4; lpsrc ; +0x3e, 0x3e285e MOV R1, R7 ; +0x40, 0x3e2860 BL _ZN7cocos2d24ccTouchClippedByAncestorEPNS_6CCNodeERKNS_7CCPointE; cocos2d::ccTouchClippedByAncestor(cocos2d::CCNode *,cocos2d::CCPoint const&) ; +0x42, 0x3e2862 CMP R0, #0 ; +0x46, 0x3e2866 BNE loc_3E283C ; +0x48, 0x3e2868 ADD R5, SP, #0x2C+var_18 ; +0x4a, 0x3e286a MOV R1, R7; cocos2d::CCPoint * ; +0x4c, 0x3e286c MOV R0, R5; this ; +0x4e, 0x3e286e BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x50, 0x3e2870 MOV R0, R4 ; +0x54, 0x3e2874 MOV R1, R5 ; +0x56, 0x3e2876 BL _ZN15CCTextInputNode18containsTouchPointEN7cocos2d7CCPointE; CCTextInputNode::containsTouchPoint(cocos2d::CCPoint) ; +0x58, 0x3e2878 CBZ R0, loc_3E2886 ; +0x5c, 0x3e287c MOV R0, R4; this ; +0x5e, 0x3e287e BL _ZN15CCTextInputNode16isCoveredByPopupEv; CCTextInputNode::isCoveredByPopup(void) ; +0x60, 0x3e2880 B loc_3E2888 ; +0x64, 0x3e2884 MOV R0, R8 ; +0x66, 0x3e2886 CMP R0, #0 ; +0x68, 0x3e2888 BNE loc_3E283C ; +0x6a, 0x3e288a LDR.W R0, [R4,#0x1A4] ; +0x6c, 0x3e288c CBZ R0, loc_3E289E ; +0x70, 0x3e2890 LDR R3, [R0] ; +0x72, 0x3e2892 MOV R1, R4 ; +0x74, 0x3e2894 LDR R3, [R3,#0x14] ; +0x76, 0x3e2896 BLX R3 ; +0x78, 0x3e2898 CMP R0, #0 ; +0x7a, 0x3e289a BEQ loc_3E283C ; +0x7c, 0x3e289c ADD.W R9, SP, #0x2C+var_20 ; +0x7e, 0x3e289e MOV R1, R7; cocos2d::CCPoint * ; +0x82, 0x3e28a2 MOV R0, R9; this ; +0x84, 0x3e28a4 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x86, 0x3e28a6 LDR R1, =(unk_D2B358 - 0x3E28B2) ; +0x8a, 0x3e28aa MOV R0, R5; this ; +0x8c, 0x3e28ac ADD R1, PC; unk_D2B358 ; +0x8e, 0x3e28ae ADDS R1, #(unk_D2B360 - 0xD2B358); cocos2d::CCRect * ; +0x90, 0x3e28b0 BL _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x92, 0x3e28b2 MOV R0, R4 ; +0x96, 0x3e28b6 MOV R1, R9 ; +0x98, 0x3e28b8 MOV R2, R5 ; +0x9a, 0x3e28ba BL _ZN15CCTextInputNode20updateCursorPositionEN7cocos2d7CCPointENS0_6CCRectE; CCTextInputNode::updateCursorPosition(cocos2d::CCPoint,cocos2d::CCRect) ; +0x9c, 0x3e28bc LDRB.W R3, [R4,#0x158] ; +0xa0, 0x3e28c0 CBNZ R3, loc_3E28D2 ; +0xa4, 0x3e28c4 LDR R3, [R4] ; +0xa6, 0x3e28c6 MOV R0, R4 ; +0xa8, 0x3e28c8 MOVS R1, #1 ; +0xaa, 0x3e28ca LDR.W R3, [R3,#0x244] ; +0xac, 0x3e28cc BLX R3 ; +0xb0, 0x3e28d0 MOV R1, R7; cocos2d::CCPoint * ; +0xb2, 0x3e28d2 MOV R0, R5; this ; +0xb4, 0x3e28d4 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xb6, 0x3e28d6 MOV R0, R4 ; +0xba, 0x3e28da MOV R1, R5 ; +0xbc, 0x3e28dc BL _ZN15CCTextInputNode12openEditMenuEN7cocos2d7CCPointE; CCTextInputNode::openEditMenu(cocos2d::CCPoint) ; +0xbe, 0x3e28de LDR R2, [SP,#0x2C+var_8] ; +0xc2, 0x3e28e2 MOV R0, R8 ; +0xc4, 0x3e28e4 LDR R3, [R6] ; +0xc6, 0x3e28e6 CMP R2, R3 ; +0xc8, 0x3e28e8 BEQ loc_3E28F4 ; +0xca, 0x3e28ea BLX __stack_chk_fail ; +0xcc, 0x3e28ec BL __cxa_end_cleanup ; +0xd0, 0x3e28f0 ADD SP, SP, #0x2C ; ',' ; +0xd4, 0x3e28f4 POP.W {R4-R9,PC} ; +0xd6, 0x3e28f6