{"type": "func", "start": 5369027536, "end": 5369027639, "name": "CCTextInputMenu::rightClick", "pseudocode": "// \n// CCTextInputMenu::rightClick from 0x14004dbd0 to 0x14004dc37 (103 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14070c2e8\n// > <???> @ 0x1409101a8\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:33 +0000\n// \n\nchar __fastcall CCTextInputMenu::rightClick(__int64 a1, float a2, float a3)\n{\n  const struct cocos2d::CCPoint *v4; // rax\n  __int64 v5; // rdx\n  __int64 v7; // rax\n  cocos2d::CCObject *v8; // rbx\n  char v9; // [rsp+30h] [rbp+8h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, a2, a3);\n  if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 64), v4) )\n    return 1;\n  v7 = *(_QWORD *)(a1 + 56);\n  v8 = *(cocos2d::CCObject **)(v7 + 696);\n  if ( v8 )\n  {\n    *(_QWORD *)(v7 + 696) = 0;\n    LOBYTE(v5) = 1;\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 520LL))(v8, v5);\n    cocos2d::CCObject::release(v8);\n  }\n  return 0;\n}", "assembly": "; \n; CCTextInputMenu::rightClick from 0x14004dbd0 to 0x14004dc37 (103 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14070c2e8\n; > <???> @ 0x1409101a8\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x14004dbd0\nsub     rsp, 20h                                                       ; +0x2, 0x14004dbd2\nmov     rbx, rcx                                                       ; +0x6, 0x14004dbd6\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x9, 0x14004dbd9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe, 0x14004dbde\nmov     rdx, rax                                                       ; +0x14, 0x14004dbe4\nlea     rcx, [rbx+40h]                                                 ; +0x17, 0x14004dbe7\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x1b, 0x14004dbeb\ntest    al, al                                                         ; +0x21, 0x14004dbf1\njz      short loc_14004DBFD                                            ; +0x23, 0x14004dbf3\nmov     al, 1                                                          ; +0x25, 0x14004dbf5\nadd     rsp, 20h                                                       ; +0x27, 0x14004dbf7\npop     rbx                                                            ; +0x2b, 0x14004dbfb\nretn                                                                   ; +0x2c, 0x14004dbfc\nmov     rax, [rbx+38h]                                                 ; +0x2d, 0x14004dbfd\nmov     rbx, [rax+2B8h]                                                ; +0x31, 0x14004dc01\ntest    rbx, rbx                                                       ; +0x38, 0x14004dc08\njz      short loc_14004DC2F                                            ; +0x3b, 0x14004dc0b\nmov     qword ptr [rax+2B8h], 0                                        ; +0x3d, 0x14004dc0d\nmov     dl, 1                                                          ; +0x48, 0x14004dc18\nmov     rax, [rbx]                                                     ; +0x4a, 0x14004dc1a\nmov     rcx, rbx                                                       ; +0x4d, 0x14004dc1d\ncall    qword ptr [rax+208h]                                           ; +0x50, 0x14004dc20\nmov     rcx, rbx                                                       ; +0x56, 0x14004dc26\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x59, 0x14004dc29\nxor     al, al                                                         ; +0x5f, 0x14004dc2f\nadd     rsp, 20h                                                       ; +0x61, 0x14004dc31\npop     rbx                                                            ; +0x65, 0x14004dc35\nretn                                                                   ; +0x66, 0x14004dc36", "xrefs": ["<???> @ 0x14070c2e8", "<???> @ 0x1409101a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}