{"type": "func", "start": 5370302608, "end": 5370302764, "name": "EditorSFXActionConfigLayer::ccTouchCancelled", "pseudocode": "// \n// EditorSFXActionConfigLayer::ccTouchCancelled from 0x140185090 to 0x14018512c (156 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074ad50\n// > <???> @ 0x140918db8\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:38 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rcx\n\n  v5 = *(_QWORD *)(a1 + 712);\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 + 728) )\n  {\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 720) + 320LL) + 32LL))(\n      *(_QWORD *)(a1 + 720) + 320LL,\n      a2,\n      a3);\n    *(_BYTE *)(a1 + 728) = 0;\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, a2);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::ccTouchCancelled from 0x140185090 to 0x14018512c (156 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074ad50\n; > <???> @ 0x140918db8\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:38 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140185090\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140185095\npush    rdi                                                            ; +0xa, 0x14018509a\nsub     rsp, 20h                                                       ; +0xb, 0x14018509b\nmov     rbx, rcx                                                       ; +0xf, 0x14018509f\nmov     rsi, r8                                                        ; +0x12, 0x1401850a2\nmov     rcx, [rcx+2C8h]                                                ; +0x15, 0x1401850a5\nmov     rdi, rdx                                                       ; +0x1c, 0x1401850ac\ntest    rcx, rcx                                                       ; +0x1f, 0x1401850af\njz      short loc_1401850E5                                            ; +0x22, 0x1401850b2\nmov     eax, [rcx+1B8h]                                                ; +0x24, 0x1401850b4\ncmp     [rdx+38h], eax                                                 ; +0x2a, 0x1401850ba\njnz     short loc_1401850E5                                            ; +0x2d, 0x1401850bd\nxor     eax, eax                                                       ; +0x2f, 0x1401850bf\nmov     dword ptr [rcx+1B8h], 0FFFFFFFFh                               ; +0x31, 0x1401850c1\nmov     [rcx+1D8h], rax                                                ; +0x3b, 0x1401850cb\nmov     [rcx+1E0h], ax                                                 ; +0x42, 0x1401850d2\nmov     [rcx+1FCh], al                                                 ; +0x49, 0x1401850d9\ncall    cs:?unscheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleUpdate(void) ; +0x4f, 0x1401850df\ncmp     byte ptr [rbx+2D8h], 0                                         ; +0x55, 0x1401850e5\njz      short loc_14018510F                                            ; +0x5c, 0x1401850ec\nmov     rcx, [rbx+2D0h]                                                ; +0x5e, 0x1401850ee\nmov     r8, rsi                                                        ; +0x65, 0x1401850f5\nadd     rcx, 140h                                                      ; +0x68, 0x1401850f8\nmov     rdx, rdi                                                       ; +0x6f, 0x1401850ff\nmov     rax, [rcx]                                                     ; +0x72, 0x140185102\ncall    qword ptr [rax+20h]                                            ; +0x75, 0x140185105\nmov     byte ptr [rbx+2D8h], 0                                         ; +0x78, 0x140185108\nmov     r8, rsi                                                        ; +0x7f, 0x14018510f\nmov     rdx, rdi                                                       ; +0x82, 0x140185112\nmov     rcx, rbx                                                       ; +0x85, 0x140185115\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x88, 0x140185118\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x8d, 0x14018511d\nadd     rsp, 20h                                                       ; +0x92, 0x140185122\npop     rdi                                                            ; +0x96, 0x140185126\njmp     FLAlertLayer__ccTouchCancelled                                 ; +0x97, 0x140185127", "xrefs": ["<???> @ 0x14074ad50", "<???> @ 0x140918db8"], "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"}