{"type": "func", "start": 5369072256, "end": 5369072473, "name": "CCTextInputNode::containsTouchPoint", "pseudocode": "// \n// CCTextInputNode::containsTouchPoint from 0x140058a80 to 0x140058b59 (217 bytes)\n// \n// 9 xrefs:\n// > CCTextInputNode::ccTouchBegan @ 0x140058c96\n// > CCTextInputNode::rightClick @ 0x14005923e\n// > EmotePickerPopup::ccTouchBegan @ 0x1401244b5\n// > EditorWindowPopup::beginTouch @ 0x14017ee9b\n// > GJRotationControl::ccTouchBegan @ 0x1401a2abf\n// > GJScaleControl::ccTouchBegan @ 0x1401a3cff\n// > GJScaleControl::ccTouchBegan @ 0x1401a3d3a\n// > GJScaleControl::ccTouchBegan @ 0x1401a3d75\n// > <???> @ 0x1409104a8\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:41 +0000\n// \n\nbool __fastcall CCTextInputNode::containsTouchPoint(__int64 a1, __int64 a2)\n{\n  const struct cocos2d::CCSize *v3; // rax\n  const struct cocos2d::CCPoint *v4; // rax\n  _BYTE v6[16]; // [rsp+30h] [rbp-28h] BYREF\n  float v7; // [rsp+60h] [rbp+8h] BYREF\n  float v8; // [rsp+64h] [rbp+Ch]\n  float v9; // [rsp+70h] [rbp+18h] BYREF\n  float v10; // [rsp+74h] [rbp+1Ch]\n  char v11; // [rsp+78h] [rbp+20h] BYREF\n\n  cocos2d::CCNode::convertToNodeSpace(a1, &v11, a2);\n  v3 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v7, v3);\n  v4 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 592) + 296LL))(*(_QWORD *)(a1 + 592));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, v4);\n  cocos2d::CCRect::CCRect(\n    (cocos2d::CCRect *)v6,\n    (float)((float)-v9 * v7) - *(float *)(a1 + 644),\n    (float)((float)-v10 * v8) - *(float *)(a1 + 648),\n    (float)(*(float *)(a1 + 644) + *(float *)(a1 + 644)) + v7,\n    (float)(*(float *)(a1 + 648) + *(float *)(a1 + 648)) + v8);\n  return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v6, (const struct cocos2d::CCPoint *)&v11);\n}", "assembly": "; \n; CCTextInputNode::containsTouchPoint from 0x140058a80 to 0x140058b59 (217 bytes)\n; \n; 9 xrefs:\n; > CCTextInputNode::ccTouchBegan @ 0x140058c96\n; > CCTextInputNode::rightClick @ 0x14005923e\n; > EmotePickerPopup::ccTouchBegan @ 0x1401244b5\n; > EditorWindowPopup::beginTouch @ 0x14017ee9b\n; > GJRotationControl::ccTouchBegan @ 0x1401a2abf\n; > GJScaleControl::ccTouchBegan @ 0x1401a3cff\n; > GJScaleControl::ccTouchBegan @ 0x1401a3d3a\n; > GJScaleControl::ccTouchBegan @ 0x1401a3d75\n; > <???> @ 0x1409104a8\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:41 +0000\n; \npush    rbx                                                            ; +0x0, 0x140058a80\nsub     rsp, 50h                                                       ; +0x2, 0x140058a82\nmov     r8, rdx                                                        ; +0x6, 0x140058a86\nmovaps  [rsp+58h+var_18], xmm7                                         ; +0x9, 0x140058a89\nlea     rdx, [rsp+58h+arg_18]                                          ; +0xe, 0x140058a8e\nmov     rbx, rcx                                                       ; +0x13, 0x140058a93\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x16, 0x140058a96\nmov     rax, [rbx]                                                     ; +0x1c, 0x140058a9c\nmov     rcx, rbx                                                       ; +0x1f, 0x140058a9f\ncall    qword ptr [rax+140h]                                           ; +0x22, 0x140058aa2\nmov     rdx, rax                                                       ; +0x28, 0x140058aa8\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x2b, 0x140058aab\ncall    cs:??0CCSize@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCSize::CCSize(cocos2d::CCSize const &) ; +0x30, 0x140058ab0\nmov     rcx, [rbx+250h]                                                ; +0x36, 0x140058ab6\nmov     rax, [rcx]                                                     ; +0x3d, 0x140058abd\ncall    qword ptr [rax+128h]                                           ; +0x40, 0x140058ac0\nmov     rdx, rax                                                       ; +0x46, 0x140058ac6\nlea     rcx, [rsp+58h+arg_10]                                          ; +0x49, 0x140058ac9\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4e, 0x140058ace\nmovss   xmm5, dword ptr [rbx+288h]                                     ; +0x54, 0x140058ad4\nlea     rcx, [rsp+58h+var_28]                                          ; +0x5c, 0x140058adc\nmovss   xmm2, [rsp+58h+arg_14]                                         ; +0x61, 0x140058ae1\nmovaps  xmm7, xmm5                                                     ; +0x67, 0x140058ae7\nxorps   xmm2, cs:xmmword_140836CC0                                     ; +0x6a, 0x140058aea\naddss   xmm7, xmm5                                                     ; +0x71, 0x140058af1\nmovss   xmm1, [rsp+58h+arg_10]                                         ; +0x75, 0x140058af5\nxorps   xmm1, cs:xmmword_140836CC0                                     ; +0x7b, 0x140058afb\nmovss   xmm3, dword ptr [rbx+284h]                                     ; +0x82, 0x140058b02\nmulss   xmm2, [rsp+58h+arg_4]                                          ; +0x8a, 0x140058b0a\naddss   xmm3, xmm3                                                     ; +0x90, 0x140058b10\nmulss   xmm1, [rsp+58h+arg_0]                                          ; +0x94, 0x140058b14\naddss   xmm7, [rsp+58h+arg_4]                                          ; +0x9a, 0x140058b1a\naddss   xmm3, [rsp+58h+arg_0]                                          ; +0xa0, 0x140058b20\nsubss   xmm1, dword ptr [rbx+284h]                                     ; +0xa6, 0x140058b26\nsubss   xmm2, xmm5                                                     ; +0xae, 0x140058b2e\nmovss   [rsp+58h+var_38], xmm7                                         ; +0xb2, 0x140058b32\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xb8, 0x140058b38\nlea     rdx, [rsp+58h+arg_18]                                          ; +0xbe, 0x140058b3e\nlea     rcx, [rsp+58h+var_28]                                          ; +0xc3, 0x140058b43\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xc8, 0x140058b48\nmovaps  xmm7, [rsp+58h+var_18]                                         ; +0xce, 0x140058b4e\nadd     rsp, 50h                                                       ; +0xd3, 0x140058b53\npop     rbx                                                            ; +0xd7, 0x140058b57\nretn                                                                   ; +0xd8, 0x140058b58", "xrefs": ["CCTextInputNode::ccTouchBegan @ 0x140058c96", "CCTextInputNode::rightClick @ 0x14005923e", "EmotePickerPopup::ccTouchBegan @ 0x1401244b5", "EditorWindowPopup::beginTouch @ 0x14017ee9b", "GJRotationControl::ccTouchBegan @ 0x1401a2abf", "GJScaleControl::ccTouchBegan @ 0x1401a3cff", "GJScaleControl::ccTouchBegan @ 0x1401a3d3a", "GJScaleControl::ccTouchBegan @ 0x1401a3d75", "<???> @ 0x1409104a8"], "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"}