; ; CCTextInputNode::ccTouchBegan from 0x5a55d0 to 0x5a57bc (492 bytes) ; ; 3 xrefs: ; > `non-virtual thunk to'CCTextInputNode::ccTouchBegan @ 0x5a57c0 ; > @ 0x7ba08 ; > @ 0x1141220 ; ; 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 ; STP X29, X30, [SP,#var_90]! ; +0x0, 0x5a55d0 MOV X29, SP ; +0x4, 0x5a55d4 STP X23, X24, [SP,#0x90+var_60] ; +0x8, 0x5a55d8 ADRP X23, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x5a55dc STR X25, [SP,#0x90+var_50] ; +0x10, 0x5a55e0 STP X19, X20, [SP,#0x90+var_80] ; +0x14, 0x5a55e4 MOV X20, X0 ; +0x18, 0x5a55e8 MOV X0, X1; this ; +0x1c, 0x5a55ec LDR X1, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x5a55f0 ADD X19, X29, #0x90+var_18 ; +0x24, 0x5a55f4 STP X21, X22, [SP,#0x90+var_70] ; +0x28, 0x5a55f8 ADD X21, X29, #0x90+var_40 ; +0x2c, 0x5a55fc ADD X22, X29, #0x90+var_28 ; +0x30, 0x5a5600 LDR X1, [X1] ; +0x34, 0x5a5604 MOV X8, X21 ; +0x38, 0x5a5608 STR X1, [X29,#0x90+var_8] ; +0x3c, 0x5a560c BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x40, 0x5a5610 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x44, 0x5a5614 MOV X8, X19 ; +0x48, 0x5a5618 MOV X1, X21; cocos2d::CCPoint * ; +0x4c, 0x5a561c BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x50, 0x5a5620 MOV X1, X19 ; +0x54, 0x5a5624 MOV X0, X21 ; +0x58, 0x5a5628 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x5c, 0x5a562c MOV X8, X19 ; +0x60, 0x5a5630 MOV X0, X20; this ; +0x64, 0x5a5634 MOV X1, X21; cocos2d::CCPoint * ; +0x68, 0x5a5638 BL _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x6c, 0x5a563c MOV X1, X19 ; +0x70, 0x5a5640 MOV X0, X21 ; +0x74, 0x5a5644 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x78, 0x5a5648 MOV X8, X19 ; +0x7c, 0x5a564c MOV X0, X20; this ; +0x80, 0x5a5650 MOV X1, X21; cocos2d::CCPoint * ; +0x84, 0x5a5654 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x88, 0x5a5658 MOV X1, X19 ; +0x8c, 0x5a565c MOV X0, X21 ; +0x90, 0x5a5660 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x94, 0x5a5664 LDR X1, [X20,#0x1F8] ; +0x98, 0x5a5668 MOV X0, X1 ; +0x9c, 0x5a566c LDR X1, [X1] ; +0xa0, 0x5a5670 LDR X1, [X1,#0x120] ; +0xa4, 0x5a5674 BLR X1 ; +0xa8, 0x5a5678 MOV X1, X0; cocos2d::CCPoint * ; +0xac, 0x5a567c MOV X0, X19; this ; +0xb0, 0x5a5680 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xb4, 0x5a5684 MOV X0, X20 ; +0xb8, 0x5a5688 MOV X1, X19 ; +0xbc, 0x5a568c MOV X8, X22 ; +0xc0, 0x5a5690 BL sub_5951D8 ; +0xc4, 0x5a5694 LDR X1, [X20] ; +0xc8, 0x5a5698 MOV X0, X20 ; +0xcc, 0x5a569c LDR X1, [X1,#0x1F0] ; +0xd0, 0x5a56a0 BLR X1 ; +0xd4, 0x5a56a4 CBZ X0, loc_5A57A0 ; +0xd8, 0x5a56a8 LDR X1, [X20] ; +0xdc, 0x5a56ac MOV X0, X20 ; +0xe0, 0x5a56b0 ADD X24, X29, #0x90+var_38 ; +0xe4, 0x5a56b4 LDR X1, [X1,#0x1F0] ; +0xe8, 0x5a56b8 BLR X1 ; +0xec, 0x5a56bc LDR X1, [X0] ; +0xf0, 0x5a56c0 LDR X1, [X1,#0xC0] ; +0xf4, 0x5a56c4 BLR X1 ; +0xf8, 0x5a56c8 MOV X1, X0; cocos2d::CCPoint * ; +0xfc, 0x5a56cc MOV X0, X24; this ; +0x100, 0x5a56d0 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x104, 0x5a56d4 MOV X8, X19 ; +0x108, 0x5a56d8 MOV X1, X24 ; +0x10c, 0x5a56dc MOV X0, X22 ; +0x110, 0x5a56e0 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x114, 0x5a56e4 MOV X1, X19 ; +0x118, 0x5a56e8 MOV X0, X22 ; +0x11c, 0x5a56ec BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x120, 0x5a56f0 MOV X0, X22; this ; +0x124, 0x5a56f4 MOV X1, X21; cocos2d::CCPoint * ; +0x128, 0x5a56f8 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x12c, 0x5a56fc UXTB W24, W0 ; +0x130, 0x5a5700 CBZ W24, loc_5A5728 ; +0x134, 0x5a5704 LDR X0, [X20,#0x200] ; +0x138, 0x5a5708 CBZ X0, loc_5A575C ; +0x13c, 0x5a570c LDR X2, [X0] ; +0x140, 0x5a5710 MOV X1, X20 ; +0x144, 0x5a5714 LDR X2, [X2,#0x28] ; +0x148, 0x5a5718 BLR X2 ; +0x14c, 0x5a571c UXTB W0, W0 ; +0x150, 0x5a5720 CBNZ W0, loc_5A575C ; +0x154, 0x5a5724 MOV W24, #0 ; +0x158, 0x5a5728 LDR X23, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x15c, 0x5a572c MOV W0, W24 ; +0x160, 0x5a5730 LDR X19, [X29,#0x90+var_8] ; +0x164, 0x5a5734 LDR X1, [X23] ; +0x168, 0x5a5738 CMP X19, X1 ; +0x16c, 0x5a573c B.NE loc_5A57B8 ; +0x170, 0x5a5740 LDP X19, X20, [SP,#0x90+var_80] ; +0x174, 0x5a5744 LDP X21, X22, [SP,#0x90+var_70] ; +0x178, 0x5a5748 LDP X23, X24, [SP,#0x90+var_60] ; +0x17c, 0x5a574c LDR X25, [SP,#0x90+var_50] ; +0x180, 0x5a5750 LDP X29, X30, [SP+0x90+var_90],#0x90 ; +0x184, 0x5a5754 RET ; +0x188, 0x5a5758 LDR X2, [X20] ; +0x18c, 0x5a575c MOV X0, X20 ; +0x190, 0x5a5760 MOV W1, #1 ; +0x194, 0x5a5764 ADD X25, X29, #0x90+var_30 ; +0x198, 0x5a5768 LDR X2, [X2,#0x478] ; +0x19c, 0x5a576c BLR X2 ; +0x1a0, 0x5a5770 MOV X0, X25; this ; +0x1a4, 0x5a5774 MOV X1, X21; cocos2d::CCPoint * ; +0x1a8, 0x5a5778 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1ac, 0x5a577c MOV X0, X19; this ; +0x1b0, 0x5a5780 MOV X1, X22; cocos2d::CCRect * ; +0x1b4, 0x5a5784 BL _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x1b8, 0x5a5788 MOV X0, X20 ; +0x1bc, 0x5a578c MOV X1, X25 ; +0x1c0, 0x5a5790 MOV X2, X19 ; +0x1c4, 0x5a5794 BL _ZN15CCTextInputNode20updateCursorPositionEN7cocos2d7CCPointENS0_6CCRectE; CCTextInputNode::updateCursorPosition(cocos2d::CCPoint,cocos2d::CCRect) ; +0x1c8, 0x5a5798 B loc_5A572C ; +0x1cc, 0x5a579c FMOV S0, WZR; float ; +0x1d0, 0x5a57a0 ADD X24, X29, #0x90+var_38 ; +0x1d4, 0x5a57a4 MOV X0, X24; this ; +0x1d8, 0x5a57a8 FMOV S1, S0; float ; +0x1dc, 0x5a57ac BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1e0, 0x5a57b0 B loc_5A56D8 ; +0x1e4, 0x5a57b4 BL .__stack_chk_fail ; +0x1e8, 0x5a57b8