{"type": "func", "start": 4300048312, "end": 4300048472, "name": "EditorSoundsLayer::ccTouchMoved", "pseudocode": "// \n// EditorSoundsLayer::ccTouchMoved from 0x1004d87b8 to 0x1004d8858 (160 bytes)\n// \n// 2 xrefs:\n// > sub_1004D8858 @ 0x1004d885c\n// > <???> @ 0x10098a9d8\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:06:32 +0000\n// \n\n__int64 __fastcall EditorSoundsLayer::ccTouchMoved(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // x0\n\n  v6 = *(_QWORD *)(a1 + 1152);\n  if ( v6 )\n  {\n    sub_100525598(v6, a2);\n    if ( (unsigned int)sub_1005257A4(*(_QWORD *)(a1 + 1152)) )\n    {\n      if ( *(_BYTE *)(a1 + 1168) == 1 )\n      {\n        (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 1160) + 920LL))(\n          *(_QWORD *)(a1 + 1160),\n          a2,\n          a3);\n        *(_BYTE *)(a1 + 1168) = 0;\n      }\n    }\n  }\n  if ( *(_BYTE *)(a1 + 1168) == 1 )\n    (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 1160) + 904LL))(\n      *(_QWORD *)(a1 + 1160),\n      a2,\n      a3);\n  return FLAlertLayer::ccTouchMoved(a1, a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchMoved from 0x1004d87b8 to 0x1004d8858 (160 bytes)\n; \n; 2 xrefs:\n; > sub_1004D8858 @ 0x1004d885c\n; > <???> @ 0x10098a9d8\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:06:32 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004d87b8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004d87bc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004d87c0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004d87c4\nMOV             X19, X2                                                ; +0x10, 0x1004d87c8\nMOV             X20, X1                                                ; +0x14, 0x1004d87cc\nMOV             X21, X0                                                ; +0x18, 0x1004d87d0\nLDR             X0, [X0,#0x480]                                        ; +0x1c, 0x1004d87d4\nCBZ             X0, loc_1004D8818                                      ; +0x20, 0x1004d87d8\nMOV             X1, X20                                                ; +0x24, 0x1004d87dc\nBL              sub_100525598                                          ; +0x28, 0x1004d87e0\nLDR             X0, [X21,#0x480]                                       ; +0x2c, 0x1004d87e4\nBL              sub_1005257A4                                          ; +0x30, 0x1004d87e8\nCBZ             W0, loc_1004D8818                                      ; +0x34, 0x1004d87ec\nLDRB            W8, [X21,#0x490]                                       ; +0x38, 0x1004d87f0\nCMP             W8, #1                                                 ; +0x3c, 0x1004d87f4\nB.NE            loc_1004D8818                                          ; +0x40, 0x1004d87f8\nLDR             X0, [X21,#0x488]                                       ; +0x44, 0x1004d87fc\nLDR             X8, [X0]                                               ; +0x48, 0x1004d8800\nLDR             X8, [X8,#0x398]                                        ; +0x4c, 0x1004d8804\nMOV             X1, X20                                                ; +0x50, 0x1004d8808\nMOV             X2, X19                                                ; +0x54, 0x1004d880c\nBLR             X8                                                     ; +0x58, 0x1004d8810\nSTRB            WZR, [X21,#0x490]                                      ; +0x5c, 0x1004d8814\nLDRB            W8, [X21,#0x490]                                       ; +0x60, 0x1004d8818\nCMP             W8, #1                                                 ; +0x64, 0x1004d881c\nB.NE            loc_1004D883C                                          ; +0x68, 0x1004d8820\nLDR             X0, [X21,#0x488]                                       ; +0x6c, 0x1004d8824\nLDR             X8, [X0]                                               ; +0x70, 0x1004d8828\nLDR             X8, [X8,#0x388]                                        ; +0x74, 0x1004d882c\nMOV             X1, X20                                                ; +0x78, 0x1004d8830\nMOV             X2, X19                                                ; +0x7c, 0x1004d8834\nBLR             X8                                                     ; +0x80, 0x1004d8838\nMOV             X0, X21                                                ; +0x84, 0x1004d883c\nMOV             X1, X20                                                ; +0x88, 0x1004d8840\nMOV             X2, X19                                                ; +0x8c, 0x1004d8844\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x90, 0x1004d8848\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x94, 0x1004d884c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x98, 0x1004d8850\nB               FLAlertLayer__ccTouchMoved                             ; +0x9c, 0x1004d8854", "xrefs": ["sub_1004D8858 @ 0x1004d885c", "<???> @ 0x10098a9d8"], "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"}