{"type": "func", "start": 5370407488, "end": 5370407644, "name": "EditorSoundsLayer::ccTouchCancelled", "pseudocode": "// \n// EditorSoundsLayer::ccTouchCancelled from 0x14019ea40 to 0x14019eadc (156 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074f598\n// > <???> @ 0x1409197cc\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::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n\n  v5 = *(_QWORD *)(a1 + 824);\n  if ( v5 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v5 + 440) )\n  {\n    *(_DWORD *)(v5 + 440) = -1;\n    *(_QWORD *)(v5 + 472) = 0;\n    *(_WORD *)(v5 + 480) = 0;\n    *(_BYTE *)(v5 + 508) = 0;\n    cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v5);\n  }\n  if ( *(_BYTE *)(a1 + 840) )\n  {\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 832) + 320LL) + 32LL))(\n      *(_QWORD *)(a1 + 832) + 320LL,\n      a2,\n      a3);\n    *(_BYTE *)(a1 + 840) = 0;\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchCancelled from 0x14019ea40 to 0x14019eadc (156 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074f598\n; > <???> @ 0x1409197cc\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_0], rbx                                               ; +0x0, 0x14019ea40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14019ea45\npush    rdi                                                            ; +0xa, 0x14019ea4a\nsub     rsp, 20h                                                       ; +0xb, 0x14019ea4b\nmov     rbx, rcx                                                       ; +0xf, 0x14019ea4f\nmov     rsi, r8                                                        ; +0x12, 0x14019ea52\nmov     rcx, [rcx+338h]                                                ; +0x15, 0x14019ea55\nmov     rdi, rdx                                                       ; +0x1c, 0x14019ea5c\ntest    rcx, rcx                                                       ; +0x1f, 0x14019ea5f\njz      short loc_14019EA95                                            ; +0x22, 0x14019ea62\nmov     eax, [rcx+1B8h]                                                ; +0x24, 0x14019ea64\ncmp     [rdx+38h], eax                                                 ; +0x2a, 0x14019ea6a\njnz     short loc_14019EA95                                            ; +0x2d, 0x14019ea6d\nxor     eax, eax                                                       ; +0x2f, 0x14019ea6f\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x31, 0x14019ea71\nmov     [rcx+1D8h], rax                                                ; +0x3b, 0x14019ea7b\nmov     [rcx+1E0h], ax                                                 ; +0x42, 0x14019ea82\nmov     [rcx+1FCh], al                                                 ; +0x49, 0x14019ea89\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0x4f, 0x14019ea8f\ncmp     byte ptr [rbx+348h], 0                                         ; +0x55, 0x14019ea95\njz      short loc_14019EABF                                            ; +0x5c, 0x14019ea9c\nmov     rcx, [rbx+340h]                                                ; +0x5e, 0x14019ea9e\nmov     r8, rsi                                                        ; +0x65, 0x14019eaa5\nadd     rcx, 140h                                                      ; +0x68, 0x14019eaa8\nmov     rdx, rdi                                                       ; +0x6f, 0x14019eaaf\nmov     rax, [rcx]                                                     ; +0x72, 0x14019eab2\ncall    qword ptr [rax+20h]                                            ; +0x75, 0x14019eab5\nmov     byte ptr [rbx+348h], 0                                         ; +0x78, 0x14019eab8\nmov     r8, rsi                                                        ; +0x7f, 0x14019eabf\nmov     rdx, rdi                                                       ; +0x82, 0x14019eac2\nmov     rcx, rbx                                                       ; +0x85, 0x14019eac5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x88, 0x14019eac8\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8d, 0x14019eacd\nadd     rsp, 20h                                                       ; +0x92, 0x14019ead2\npop     rdi                                                            ; +0x96, 0x14019ead6\njmp     FLAlertLayer__ccTouchCancelled                                 ; +0x97, 0x14019ead7", "xrefs": ["<???> @ 0x14074f598", "<???> @ 0x1409197cc"], "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"}