{"type": "func", "start": 4045440, "end": 4045502, "name": "CCTextInputMenu::rightClick", "pseudocode": "// \n// CCTextInputMenu::rightClick from 0x3dba80 to 0x3dbabe (62 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCTextInputMenu::rightClick @ 0x3dbac8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:47 +0000\n// \n\nint __fastcall CCTextInputMenu::rightClick(CCTextInputNode **this, float a2, float a3, int a4)\n{\n  int v5; // r5\n  _DWORD v7[3]; // [sp+4h] [bp-Ch] BYREF\n\n  *(float *)v7 = a2;\n  *(float *)&v7[1] = a3;\n  v7[2] = a4;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a2, a3);\n  v5 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(this + 80), (const cocos2d::CCPoint *)v7);\n  if ( !v5 )\n    CCTextInputNode::closeEditMenu(*(this + 79));\n  return v5;\n}", "assembly": "; \n; CCTextInputMenu::rightClick from 0x3dba80 to 0x3dbabe (62 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCTextInputMenu::rightClick @ 0x3dbac8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:47 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x3dba80\nADD             R5, SP, #0x10+var_C                                    ; +0x2, 0x3dba82\nLDR             R4, =(__stack_chk_guard_ptr - 0x3DBA8E)                ; +0x4, 0x3dba84\nMOV             R6, R0                                                 ; +0x6, 0x3dba86\nMOV             R0, R5; this                                           ; +0x8, 0x3dba88\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3dba8a\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x3dba8c\nLDR             R3, [R4]                                               ; +0xe, 0x3dba8e\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x10, 0x3dba90\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x12, 0x3dba92\nMOV             R1, R5; cocos2d::CCPoint *                             ; +0x16, 0x3dba96\nADD.W           R0, R6, #0x140; this                                   ; +0x18, 0x3dba98\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x1c, 0x3dba9c\nMOV             R5, R0                                                 ; +0x20, 0x3dbaa0\nCBNZ            R0, loc_3DBAAC                                         ; +0x22, 0x3dbaa2\nLDR.W           R0, [R6,#0x13C]; this                                  ; +0x24, 0x3dbaa4\nBL              _ZN15CCTextInputNode13closeEditMenuEv; CCTextInputNode::closeEditMenu(void) ; +0x28, 0x3dbaa8\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x2c, 0x3dbaac\nMOV             R0, R5                                                 ; +0x2e, 0x3dbaae\nLDR             R3, [R4]                                               ; +0x30, 0x3dbab0\nCMP             R2, R3                                                 ; +0x32, 0x3dbab2\nBEQ             loc_3DBABA                                             ; +0x34, 0x3dbab4\nBLX             __stack_chk_fail                                       ; +0x36, 0x3dbab6\nADD             SP, SP, #0x10                                          ; +0x3a, 0x3dbaba\nPOP             {R4-R6,PC}                                             ; +0x3c, 0x3dbabc", "xrefs": ["`non-virtual thunk to'CCTextInputMenu::rightClick @ 0x3dbac8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}