{"type": "func", "start": 5370407328, "end": 5370407482, "name": "EditorSoundsLayer::ccTouchEnded", "pseudocode": "// \n// EditorSoundsLayer::ccTouchEnded from 0x14019e9a0 to 0x14019ea3a (154 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074f590\n// > <???> @ 0x1409197c0\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:27:48 +0000\n// \n\n__int64 __fastcall EditorSoundsLayer::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n  char v7; // si\n  __int64 *v8; // rcx\n  __int64 v9; // rax\n\n  v5 = *(_QWORD *)(a1 + 824);\n  if ( v5 && *(_BYTE *)(v5 + 480) )\n  {\n    v7 = 1;\n  }\n  else\n  {\n    v7 = 0;\n    if ( !v5 )\n      goto LABEL_6;\n  }\n  ScrollableContentLayer::handleTouchEnded(v5, a2);\nLABEL_6:\n  if ( *(_BYTE *)(a1 + 840) )\n  {\n    v8 = (__int64 *)(*(_QWORD *)(a1 + 832) + 320LL);\n    v9 = *v8;\n    if ( v7 )\n      (*(void (__fastcall **)(__int64 *, __int64, __int64))(v9 + 32))(v8, a2, a3);\n    else\n      (*(void (__fastcall **)(__int64 *, __int64, __int64))(v9 + 24))(v8, a2, a3);\n    *(_BYTE *)(a1 + 840) = 0;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchEnded from 0x14019e9a0 to 0x14019ea3a (154 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074f590\n; > <???> @ 0x1409197c0\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:27:48 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14019e9a0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14019e9a5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14019e9aa\npush    rdi                                                            ; +0xf, 0x14019e9af\nsub     rsp, 20h                                                       ; +0x10, 0x14019e9b0\nmov     rbx, rcx                                                       ; +0x14, 0x14019e9b4\nmov     rbp, r8                                                        ; +0x17, 0x14019e9b7\nmov     rcx, [rcx+338h]                                                ; +0x1a, 0x14019e9ba\nmov     rdi, rdx                                                       ; +0x21, 0x14019e9c1\ntest    rcx, rcx                                                       ; +0x24, 0x14019e9c4\njz      short loc_14019E9D7                                            ; +0x27, 0x14019e9c7\ncmp     byte ptr [rcx+1E0h], 0                                         ; +0x29, 0x14019e9c9\njz      short loc_14019E9D7                                            ; +0x30, 0x14019e9d0\nmov     sil, 1                                                         ; +0x32, 0x14019e9d2\njmp     short loc_14019E9DF                                            ; +0x35, 0x14019e9d5\nxor     sil, sil                                                       ; +0x37, 0x14019e9d7\ntest    rcx, rcx                                                       ; +0x3a, 0x14019e9da\njz      short loc_14019E9E4                                            ; +0x3d, 0x14019e9dd\ncall    ScrollableContentLayer__handleTouchEnded                       ; +0x3f, 0x14019e9df\ncmp     byte ptr [rbx+348h], 0                                         ; +0x44, 0x14019e9e4\njz      short loc_14019EA18                                            ; +0x4b, 0x14019e9eb\nmov     rcx, [rbx+340h]                                                ; +0x4d, 0x14019e9ed\nmov     r8, rbp                                                        ; +0x54, 0x14019e9f4\nadd     rcx, 140h                                                      ; +0x57, 0x14019e9f7\nmov     rdx, rdi                                                       ; +0x5e, 0x14019e9fe\nmov     rax, [rcx]                                                     ; +0x61, 0x14019ea01\ntest    sil, sil                                                       ; +0x64, 0x14019ea04\njz      short loc_14019EA0E                                            ; +0x67, 0x14019ea07\ncall    qword ptr [rax+20h]                                            ; +0x69, 0x14019ea09\njmp     short loc_14019EA11                                            ; +0x6c, 0x14019ea0c\ncall    qword ptr [rax+18h]                                            ; +0x6e, 0x14019ea0e\nmov     byte ptr [rbx+348h], 0                                         ; +0x71, 0x14019ea11\nmov     r8, rbp                                                        ; +0x78, 0x14019ea18\nmov     rdx, rdi                                                       ; +0x7b, 0x14019ea1b\nmov     rcx, rbx                                                       ; +0x7e, 0x14019ea1e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x81, 0x14019ea21\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x86, 0x14019ea26\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x8b, 0x14019ea2b\nadd     rsp, 20h                                                       ; +0x90, 0x14019ea30\npop     rdi                                                            ; +0x94, 0x14019ea34\njmp     FLAlertLayer__ccTouchEnded                                     ; +0x95, 0x14019ea35", "xrefs": ["<???> @ 0x14074f590", "<???> @ 0x1409197c0"], "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"}