{"type": "func", "start": 4297061116, "end": 4297061320, "name": "CCTextInputNode::ccTouchMoved", "pseudocode": "// \n// CCTextInputNode::ccTouchMoved from 0x1001ff2fc to 0x1001ff3c8 (204 bytes)\n// \n// 2 xrefs:\n// > sub_1001FF40C @ 0x1001ff410\n// > <???> @ 0x1008f5480\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:45 +0000\n// \n\n_DWORD *__fastcall CCTextInputNode::ccTouchMoved(__int64 a1, __int64 a2)\n{\n  float v4; // s8\n  float v5; // s0\n  _DWORD *result; // x0\n  __int64 v7; // [xsp+8h] [xbp-28h] BYREF\n\n  if ( *(_BYTE *)(a1 + 696) == 1 )\n  {\n    cocos2d::CCTouch::getLocation(&v7, a2);\n    v4 = cocos2d::ccpDistance(&v7, a1 + 688);\n    sub_1000480C8();\n    if ( v4 > v5 )\n    {\n      *(_BYTE *)(a1 + 697) = 0;\n      if ( *(_BYTE *)(a1 + 696) == 1 )\n      {\n        *(_BYTE *)(a1 + 696) = 0;\n        cocos2d::CCNode::unschedule(a1, sub_1001FF490, 0);\n      }\n    }\n  }\n  result = *(_DWORD **)(a1 + 640);\n  if ( result )\n  {\n    result = (_DWORD *)sub_100525598(result, a2);\n    if ( *(_BYTE *)(*(_QWORD *)(a1 + 640) + 480LL) == 1 )\n    {\n      cocos2d::CCNode::unschedule(a1, sub_1001FF3C8, 0);\n      return sub_1001FACE0((_DWORD *)a1);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::ccTouchMoved from 0x1001ff2fc to 0x1001ff3c8 (204 bytes)\n; \n; 2 xrefs:\n; > sub_1001FF40C @ 0x1001ff410\n; > <???> @ 0x1008f5480\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:45 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001ff2fc\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x1001ff300\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001ff304\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1001ff308\nADD             X29, SP, #0x30                                         ; +0x10, 0x1001ff30c\nMOV             X20, X1                                                ; +0x14, 0x1001ff310\nMOV             X19, X0                                                ; +0x18, 0x1001ff314\nLDRB            W8, [X0,#0x2B8]                                        ; +0x1c, 0x1001ff318\nCMP             W8, #1                                                 ; +0x20, 0x1001ff31c\nB.NE            loc_1001FF378                                          ; +0x24, 0x1001ff320\nADD             X8, SP, #0x30+var_28                                   ; +0x28, 0x1001ff324\nMOV             X0, X20                                                ; +0x2c, 0x1001ff328\nBL              cocos2d__CCTouch__getLocation                          ; +0x30, 0x1001ff32c\nADD             X0, SP, #0x30+var_28                                   ; +0x34, 0x1001ff330\nADD             X1, X19, #0x2B0                                        ; +0x38, 0x1001ff334\nBL              cocos2d__ccpDistance                                   ; +0x3c, 0x1001ff338\nFMOV            S8, S0                                                 ; +0x40, 0x1001ff33c\nFMOV            S0, #2.0                                               ; +0x44, 0x1001ff340\nBL              sub_1000480C8                                          ; +0x48, 0x1001ff344\nFCMP            S8, S0                                                 ; +0x4c, 0x1001ff348\nB.LE            loc_1001FF378                                          ; +0x50, 0x1001ff34c\nSTRB            WZR, [X19,#0x2B9]                                      ; +0x54, 0x1001ff350\nLDRB            W8, [X19,#0x2B8]                                       ; +0x58, 0x1001ff354\nCMP             W8, #1                                                 ; +0x5c, 0x1001ff358\nB.NE            loc_1001FF378                                          ; +0x60, 0x1001ff35c\nSTRB            WZR, [X19,#0x2B8]                                      ; +0x64, 0x1001ff360\nADRL            X1, sub_1001FF490                                      ; +0x68, 0x1001ff364\nMOV             X0, X19                                                ; +0x70, 0x1001ff36c\nMOV             X2, #0                                                 ; +0x74, 0x1001ff370\nBL              cocos2d__CCNode__unschedule                            ; +0x78, 0x1001ff374\nLDR             X0, [X19,#0x280]                                       ; +0x7c, 0x1001ff378\nCBZ             X0, loc_1001FF3B4                                      ; +0x80, 0x1001ff37c\nMOV             X1, X20                                                ; +0x84, 0x1001ff380\nBL              sub_100525598                                          ; +0x88, 0x1001ff384\nLDR             X8, [X19,#0x280]                                       ; +0x8c, 0x1001ff388\nLDRB            W8, [X8,#0x1E0]                                        ; +0x90, 0x1001ff38c\nCMP             W8, #1                                                 ; +0x94, 0x1001ff390\nB.NE            loc_1001FF3B4                                          ; +0x98, 0x1001ff394\nADRL            X1, sub_1001FF3C8                                      ; +0x9c, 0x1001ff398\nMOV             X0, X19                                                ; +0xa4, 0x1001ff3a0\nMOV             X2, #0                                                 ; +0xa8, 0x1001ff3a4\nBL              cocos2d__CCNode__unschedule                            ; +0xac, 0x1001ff3a8\nMOV             X0, X19                                                ; +0xb0, 0x1001ff3ac\nBL              sub_1001FACE0                                          ; +0xb4, 0x1001ff3b0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb8, 0x1001ff3b4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xbc, 0x1001ff3b8\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0xc0, 0x1001ff3bc\nADD             SP, SP, #0x40 ; '@'                                    ; +0xc4, 0x1001ff3c0\nRET                                                                    ; +0xc8, 0x1001ff3c4", "xrefs": ["sub_1001FF40C @ 0x1001ff410", "<???> @ 0x1008f5480"], "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"}