{"type": "func", "start": 7039984, "end": 7040112, "name": "CCTextInputMenu::rightClick", "pseudocode": "// \n// CCTextInputMenu::rightClick from 0x6b6bf0 to 0x6b6c70 (128 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CCTextInputMenu::rightClick @ 0x6b6c74\n// > <???> @ 0x6e248\n// > <???> @ 0x141f8c0\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::rightClick(CCTextInputNode **this, float a2, float a3)\n{\n  unsigned __int8 v4; // w0\n  unsigned int v5; // w20\n  _BYTE v7[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a2, a3);\n  v4 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(this + 52), (const cocos2d::CCPoint *)v7);\n  v5 = v4;\n  if ( !v4 )\n    CCTextInputNode::closeEditMenu(*(this + 51));\n  return v5;\n}", "assembly": "; \n; CCTextInputMenu::rightClick from 0x6b6bf0 to 0x6b6c70 (128 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CCTextInputMenu::rightClick @ 0x6b6c74\n; > <???> @ 0x6e248\n; > <???> @ 0x141f8c0\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_50]!                                ; +0x0, 0x6b6bf0\nMOV             X29, SP                                                ; +0x4, 0x6b6bf4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x6b6bf8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x6b6bfc\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x6b6c00\nADD             X1, X29, #0x50+var_10                                  ; +0x14, 0x6b6c04\nMOV             X21, X0                                                ; +0x18, 0x6b6c08\nMOV             X0, X1; this                                           ; +0x1c, 0x6b6c0c\nSTR             X1, [X29,#0x50+var_18]                                 ; +0x20, 0x6b6c10\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x6b6c14\nLDR             X2, [X2]                                               ; +0x28, 0x6b6c18\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x2c, 0x6b6c1c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30, 0x6b6c20\nLDR             X1, [X29,#0x50+var_18]; cocos2d::CCPoint *             ; +0x34, 0x6b6c24\nADD             X0, X21, #0x1A0; this                                  ; +0x38, 0x6b6c28\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x3c, 0x6b6c2c\nUXTB            W0, W0                                                 ; +0x40, 0x6b6c30\nMOV             W20, W0                                                ; +0x44, 0x6b6c34\nCBNZ            W0, loc_6B6C44                                         ; +0x48, 0x6b6c38\nLDR             X0, [X21,#0x198]; this                                 ; +0x4c, 0x6b6c3c\nBL              _ZN15CCTextInputNode13closeEditMenuEv; CCTextInputNode::closeEditMenu(void) ; +0x50, 0x6b6c40\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x54, 0x6b6c44\nMOV             W0, W20                                                ; +0x58, 0x6b6c48\nLDR             X2, [X29,#0x50+var_8]                                  ; +0x5c, 0x6b6c4c\nLDR             X1, [X19]                                              ; +0x60, 0x6b6c50\nCMP             X2, X1                                                 ; +0x64, 0x6b6c54\nB.NE            loc_6B6C6C                                             ; +0x68, 0x6b6c58\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x6c, 0x6b6c5c\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x70, 0x6b6c60\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x74, 0x6b6c64\nRET                                                                    ; +0x78, 0x6b6c68\nBL              .__stack_chk_fail                                      ; +0x7c, 0x6b6c6c", "xrefs": ["`non-virtual thunk to'CCTextInputMenu::rightClick @ 0x6b6c74", "<???> @ 0x6e248", "<???> @ 0x141f8c0"], "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"}