{"type": "func", "start": 4297059584, "end": 4297059740, "name": "CCTextInputNode::containsTouchPoint", "pseudocode": "// \n// CCTextInputNode::containsTouchPoint from 0x1001fed00 to 0x1001fed9c (156 bytes)\n// \n// 8 xrefs:\n// > GJRotationControl::ccTouchBegan @ 0x100157924\n// > GJScaleControl::ccTouchBegan @ 0x100158cf0\n// > GJScaleControl::ccTouchBegan @ 0x100158d24\n// > GJScaleControl::ccTouchBegan @ 0x100158d58\n// > CCTextInputNode::ccTouchBegan @ 0x1001ff060\n// > CCTextInputNode::rightClick @ 0x1001ff660\n// > EditorWindowPopup::touchIsOnField @ 0x1004d9fb4\n// > EmotePickerPopup::ccTouchBegan @ 0x1004dbc08\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 11:00:44 +0000\n// \n\nbool __fastcall CCTextInputNode::containsTouchPoint(__int64 a1, __int64 a2, __n128 a3)\n{\n  double *v4; // x0\n  double v5; // d0\n  double *v6; // x0\n  float v8[4]; // [xsp+8h] [xbp-38h] BYREF\n  __int64 v9; // [xsp+18h] [xbp-28h] BYREF\n  __int64 v10; // [xsp+20h] [xbp-20h] BYREF\n  __int64 v11; // [xsp+28h] [xbp-18h] BYREF\n\n  cocos2d::CCNode::convertToNodeSpace(&v11, a1, a2, a3);\n  v4 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);\n  v5 = sub_100026438(&v10, v4);\n  v6 = (double *)(*(__int64 (__fastcall **)(_QWORD, double))(**(_QWORD **)(a1 + 576) + 304LL))(\n                   *(_QWORD *)(a1 + 576),\n                   v5);\n  sub_1000262F4(&v9, v6);\n  sub_1000262CC(\n    v8,\n    -(float)(*(float *)(a1 + 628) + (float)(*(float *)&v9 * *(float *)&v10)),\n    -(float)(*(float *)(a1 + 632) + (float)(*((float *)&v9 + 1) * *((float *)&v10 + 1))),\n    *(float *)&v10 + (float)(*(float *)(a1 + 628) * 2.0),\n    *((float *)&v10 + 1) + (float)(*(float *)(a1 + 632) * 2.0));\n  return sub_1000265E4(v8, (float *)&v11);\n}", "assembly": "; \n; CCTextInputNode::containsTouchPoint from 0x1001fed00 to 0x1001fed9c (156 bytes)\n; \n; 8 xrefs:\n; > GJRotationControl::ccTouchBegan @ 0x100157924\n; > GJScaleControl::ccTouchBegan @ 0x100158cf0\n; > GJScaleControl::ccTouchBegan @ 0x100158d24\n; > GJScaleControl::ccTouchBegan @ 0x100158d58\n; > CCTextInputNode::ccTouchBegan @ 0x1001ff060\n; > CCTextInputNode::rightClick @ 0x1001ff660\n; > EditorWindowPopup::touchIsOnField @ 0x1004d9fb4\n; > EmotePickerPopup::ccTouchBegan @ 0x1004dbc08\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 11:00:44 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1001fed00\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x1001fed04\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x1001fed08\nADD             X29, SP, #0x40                                         ; +0xc, 0x1001fed0c\nMOV             X19, X0                                                ; +0x10, 0x1001fed10\nSUB             X8, X29, #-var_18                                      ; +0x14, 0x1001fed14\nBL              cocos2d__CCNode__convertToNodeSpace                    ; +0x18, 0x1001fed18\nLDR             X8, [X19]                                              ; +0x1c, 0x1001fed1c\nLDR             X8, [X8,#0x148]                                        ; +0x20, 0x1001fed20\nMOV             X0, X19                                                ; +0x24, 0x1001fed24\nBLR             X8                                                     ; +0x28, 0x1001fed28\nMOV             X1, X0                                                 ; +0x2c, 0x1001fed2c\nADD             X0, SP, #0x40+var_20                                   ; +0x30, 0x1001fed30\nBL              sub_100026438                                          ; +0x34, 0x1001fed34\nLDR             X0, [X19,#0x240]                                       ; +0x38, 0x1001fed38\nLDR             X8, [X0]                                               ; +0x3c, 0x1001fed3c\nLDR             X8, [X8,#0x130]                                        ; +0x40, 0x1001fed40\nBLR             X8                                                     ; +0x44, 0x1001fed44\nMOV             X1, X0                                                 ; +0x48, 0x1001fed48\nADD             X0, SP, #0x40+var_28                                   ; +0x4c, 0x1001fed4c\nBL              sub_1000262F4                                          ; +0x50, 0x1001fed50\nLDR             S2, [X19,#0x274]                                       ; +0x54, 0x1001fed54\nLDP             S0, S1, [SP,#0x40+var_28]                              ; +0x58, 0x1001fed58\nLDP             S3, S4, [SP,#0x40+var_20]                              ; +0x5c, 0x1001fed5c\nFNMADD          S0, S0, S3, S2                                         ; +0x60, 0x1001fed60\nLDR             S5, [X19,#0x278]                                       ; +0x64, 0x1001fed64\nFNMADD          S1, S1, S4, S5                                         ; +0x68, 0x1001fed68\nFMOV            S6, #2.0                                               ; +0x6c, 0x1001fed6c\nFMADD           S2, S2, S6, S3                                         ; +0x70, 0x1001fed70\nFMADD           S3, S5, S6, S4                                         ; +0x74, 0x1001fed74\nADD             X0, SP, #0x40+var_38                                   ; +0x78, 0x1001fed78\nBL              sub_1000262CC                                          ; +0x7c, 0x1001fed7c\nADD             X0, SP, #0x40+var_38                                   ; +0x80, 0x1001fed80\nSUB             X1, X29, #-var_18                                      ; +0x84, 0x1001fed84\nBL              sub_1000265E4                                          ; +0x88, 0x1001fed88\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8c, 0x1001fed8c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x90, 0x1001fed90\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x94, 0x1001fed94\nRET                                                                    ; +0x98, 0x1001fed98", "xrefs": ["GJRotationControl::ccTouchBegan @ 0x100157924", "GJScaleControl::ccTouchBegan @ 0x100158cf0", "GJScaleControl::ccTouchBegan @ 0x100158d24", "GJScaleControl::ccTouchBegan @ 0x100158d58", "CCTextInputNode::ccTouchBegan @ 0x1001ff060", "CCTextInputNode::rightClick @ 0x1001ff660", "EditorWindowPopup::touchIsOnField @ 0x1004d9fb4", "EmotePickerPopup::ccTouchBegan @ 0x1004dbc08"], "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"}