{"type": "func", "start": 4299977308, "end": 4299977444, "name": "EditorSFXActionConfigLayer::ccTouchEnded", "pseudocode": "// \n// EditorSFXActionConfigLayer::ccTouchEnded from 0x1004c725c to 0x1004c72e4 (136 bytes)\n// \n// 2 xrefs:\n// > sub_1004C72E4 @ 0x1004c72e8\n// > <???> @ 0x1009868f0\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:23 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::ccTouchEnded(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x0\n  char v5; // w22\n  __int64 v6; // x8\n\n  v4 = *(_QWORD *)(a1 + 1048);\n  if ( v4 )\n  {\n    v5 = *(_BYTE *)(v4 + 480);\n    sub_100525820(v4, a2);\n    if ( (*(_BYTE *)(a1 + 1064) & 1) != 0 )\n    {\n      if ( (v5 & 1) != 0 )\n      {\n        v6 = 920;\nLABEL_7:\n        (*(void (**)(void))(**(_QWORD **)(a1 + 1056) + v6))();\n        *(_BYTE *)(a1 + 1064) = 0;\n        return FLAlertLayer::ccTouchEnded(a1, a2);\n      }\nLABEL_6:\n      v6 = 912;\n      goto LABEL_7;\n    }\n  }\n  else if ( (*(_BYTE *)(a1 + 1064) & 1) != 0 )\n  {\n    goto LABEL_6;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, a2);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::ccTouchEnded from 0x1004c725c to 0x1004c72e4 (136 bytes)\n; \n; 2 xrefs:\n; > sub_1004C72E4 @ 0x1004c72e8\n; > <???> @ 0x1009868f0\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:23 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004c725c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004c7260\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004c7264\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004c7268\nMOV             X19, X2                                                ; +0x10, 0x1004c726c\nMOV             X20, X1                                                ; +0x14, 0x1004c7270\nMOV             X21, X0                                                ; +0x18, 0x1004c7274\nLDR             X0, [X0,#0x418]                                        ; +0x1c, 0x1004c7278\nCBZ             X0, loc_1004C72A0                                      ; +0x20, 0x1004c727c\nLDRB            W22, [X0,#0x1E0]                                       ; +0x24, 0x1004c7280\nMOV             X1, X20                                                ; +0x28, 0x1004c7284\nBL              sub_100525820                                          ; +0x2c, 0x1004c7288\nLDRB            W8, [X21,#0x428]                                       ; +0x30, 0x1004c728c\nTBZ             W8, #0, loc_1004C72C8                                  ; +0x34, 0x1004c7290\nTBZ             W22, #0, loc_1004C72A8                                 ; +0x38, 0x1004c7294\nMOV             W8, #0x398                                             ; +0x3c, 0x1004c7298\nB               loc_1004C72AC                                          ; +0x40, 0x1004c729c\nLDRB            W8, [X21,#0x428]                                       ; +0x44, 0x1004c72a0\nTBZ             W8, #0, loc_1004C72C8                                  ; +0x48, 0x1004c72a4\nMOV             W8, #0x390                                             ; +0x4c, 0x1004c72a8\nLDR             X0, [X21,#0x420]                                       ; +0x50, 0x1004c72ac\nLDR             X9, [X0]                                               ; +0x54, 0x1004c72b0\nLDR             X8, [X9,X8]                                            ; +0x58, 0x1004c72b4\nMOV             X1, X20                                                ; +0x5c, 0x1004c72b8\nMOV             X2, X19                                                ; +0x60, 0x1004c72bc\nBLR             X8                                                     ; +0x64, 0x1004c72c0\nSTRB            WZR, [X21,#0x428]                                      ; +0x68, 0x1004c72c4\nMOV             X0, X21                                                ; +0x6c, 0x1004c72c8\nMOV             X1, X20                                                ; +0x70, 0x1004c72cc\nMOV             X2, X19                                                ; +0x74, 0x1004c72d0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x1004c72d4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x7c, 0x1004c72d8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x80, 0x1004c72dc\nB               FLAlertLayer__ccTouchEnded                             ; +0x84, 0x1004c72e0", "xrefs": ["sub_1004C72E4 @ 0x1004c72e8", "<???> @ 0x1009868f0"], "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"}