{"type": "func", "start": 7039848, "end": 7039976, "name": "CCTextInputMenu::ccTouchBegan", "pseudocode": "// \n// CCTextInputMenu::ccTouchBegan from 0x6b6b68 to 0x6b6be8 (128 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CCTextInputMenu::ccTouchBegan @ 0x6b6bec\n// > <???> @ 0xa3708\n// > <???> @ 0x141f7c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:52 +0000\n// \n\n__int64 __fastcall CCTextInputMenu::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this)\n{\n  unsigned __int8 v3; // w0\n  unsigned int v4; // w20\n  __int64 v6; // [xsp+30h] [xbp+30h] BYREF\n\n  cocos2d::CCTouch::getLocation(&v6, this);\n  v3 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 416), (const cocos2d::CCPoint *)&v6);\n  v4 = v3;\n  if ( !v3 )\n    CCTextInputNode::closeEditMenu(*(CCTextInputNode **)(a1 + 408));\n  return v4;\n}", "assembly": "; \n; CCTextInputMenu::ccTouchBegan from 0x6b6b68 to 0x6b6be8 (128 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CCTextInputMenu::ccTouchBegan @ 0x6b6bec\n; > <???> @ 0xa3708\n; > <???> @ 0x141f7c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:52 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x6b6b68\nMOV             X29, SP                                                ; +0x4, 0x6b6b6c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x6b6b70\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b6b74\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x10, 0x6b6b78\nMOV             X21, X0                                                ; +0x14, 0x6b6b7c\nMOV             X0, X1; this                                           ; +0x18, 0x6b6b80\nADD             X20, X29, #0x40+var_10                                 ; +0x1c, 0x6b6b84\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6b6b88\nMOV             X8, X20                                                ; +0x24, 0x6b6b8c\nLDR             X1, [X1]                                               ; +0x28, 0x6b6b90\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x6b6b94\nBL              _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x30, 0x6b6b98\nMOV             X1, X20; cocos2d::CCPoint *                            ; +0x34, 0x6b6b9c\nADD             X0, X21, #0x1A0; this                                  ; +0x38, 0x6b6ba0\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x3c, 0x6b6ba4\nUXTB            W0, W0                                                 ; +0x40, 0x6b6ba8\nMOV             W20, W0                                                ; +0x44, 0x6b6bac\nCBNZ            W0, loc_6B6BBC                                         ; +0x48, 0x6b6bb0\nLDR             X0, [X21,#0x198]; this                                 ; +0x4c, 0x6b6bb4\nBL              _ZN15CCTextInputNode13closeEditMenuEv; CCTextInputNode::closeEditMenu(void) ; +0x50, 0x6b6bb8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x54, 0x6b6bbc\nMOV             W0, W20                                                ; +0x58, 0x6b6bc0\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x5c, 0x6b6bc4\nLDR             X1, [X19]                                              ; +0x60, 0x6b6bc8\nCMP             X2, X1                                                 ; +0x64, 0x6b6bcc\nB.NE            loc_6B6BE4                                             ; +0x68, 0x6b6bd0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x6c, 0x6b6bd4\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x70, 0x6b6bd8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x74, 0x6b6bdc\nRET                                                                    ; +0x78, 0x6b6be0\nBL              .__stack_chk_fail                                      ; +0x7c, 0x6b6be4", "xrefs": ["`non-virtual thunk to'CCTextInputMenu::ccTouchBegan @ 0x6b6bec", "<???> @ 0xa3708", "<???> @ 0x141f7c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}