{"type": "func", "start": 4300048624, "end": 4300048736, "name": "EditorSoundsLayer::ccTouchCancelled", "pseudocode": "// \n// EditorSoundsLayer::ccTouchCancelled from 0x1004d88f0 to 0x1004d8960 (112 bytes)\n// \n// 2 xrefs:\n// > sub_1004D8960 @ 0x1004d8964\n// > <???> @ 0x10098a9e8\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::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // x0\n\n  v6 = *(_QWORD *)(a1 + 1152);\n  if ( v6 )\n    sub_100525990(v6, a2);\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  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchCancelled from 0x1004d88f0 to 0x1004d8960 (112 bytes)\n; \n; 2 xrefs:\n; > sub_1004D8960 @ 0x1004d8964\n; > <???> @ 0x10098a9e8\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, 0x1004d88f0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004d88f4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004d88f8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004d88fc\nMOV             X19, X2                                                ; +0x10, 0x1004d8900\nMOV             X20, X1                                                ; +0x14, 0x1004d8904\nMOV             X21, X0                                                ; +0x18, 0x1004d8908\nLDR             X0, [X0,#0x480]                                        ; +0x1c, 0x1004d890c\nCBZ             X0, loc_1004D891C                                      ; +0x20, 0x1004d8910\nMOV             X1, X20                                                ; +0x24, 0x1004d8914\nBL              sub_100525990                                          ; +0x28, 0x1004d8918\nLDRB            W8, [X21,#0x490]                                       ; +0x2c, 0x1004d891c\nCMP             W8, #1                                                 ; +0x30, 0x1004d8920\nB.NE            loc_1004D8944                                          ; +0x34, 0x1004d8924\nLDR             X0, [X21,#0x488]                                       ; +0x38, 0x1004d8928\nLDR             X8, [X0]                                               ; +0x3c, 0x1004d892c\nLDR             X8, [X8,#0x398]                                        ; +0x40, 0x1004d8930\nMOV             X1, X20                                                ; +0x44, 0x1004d8934\nMOV             X2, X19                                                ; +0x48, 0x1004d8938\nBLR             X8                                                     ; +0x4c, 0x1004d893c\nSTRB            WZR, [X21,#0x490]                                      ; +0x50, 0x1004d8940\nMOV             X0, X21                                                ; +0x54, 0x1004d8944\nMOV             X1, X20                                                ; +0x58, 0x1004d8948\nMOV             X2, X19                                                ; +0x5c, 0x1004d894c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x1004d8950\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x1004d8954\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x68, 0x1004d8958\nB               FLAlertLayer__ccTouchCancelled                         ; +0x6c, 0x1004d895c", "xrefs": ["sub_1004D8960 @ 0x1004d8964", "<???> @ 0x10098a9e8"], "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"}