{"type": "func", "start": 4295122008, "end": 4295122144, "name": "KeybindingsLayer::ccTouchEnded", "pseudocode": "// \n// KeybindingsLayer::ccTouchEnded from 0x100025c58 to 0x100025ce0 (136 bytes)\n// \n// 3 xrefs:\n// > sub_100025CE0 @ 0x100025ce4\n// > <???> @ 0x1008af6d8\n// > <???> @ 0x100993d78\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 10:57:25 +0000\n// \n\n__int64 __fastcall KeybindingsLayer::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // x0\n  char v7; // w22\n  __int64 v8; // x8\n\n  v6 = *(_QWORD *)(a1 + 1136);\n  if ( v6 )\n  {\n    v7 = *(_BYTE *)(v6 + 480);\n    sub_100525820();\n    if ( (*(_BYTE *)(a1 + 1152) & 1) != 0 )\n    {\n      if ( (v7 & 1) != 0 )\n      {\n        v8 = 920;\nLABEL_7:\n        (*(void (**)(void))(**(_QWORD **)(a1 + 1144) + v8))();\n        *(_BYTE *)(a1 + 1152) = 0;\n        return FLAlertLayer::ccTouchEnded(a1, a2, a3);\n      }\nLABEL_6:\n      v8 = 912;\n      goto LABEL_7;\n    }\n  }\n  else if ( (*(_BYTE *)(a1 + 1152) & 1) != 0 )\n  {\n    goto LABEL_6;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, a2, a3);\n}", "assembly": "; \n; KeybindingsLayer::ccTouchEnded from 0x100025c58 to 0x100025ce0 (136 bytes)\n; \n; 3 xrefs:\n; > sub_100025CE0 @ 0x100025ce4\n; > <???> @ 0x1008af6d8\n; > <???> @ 0x100993d78\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 10:57:25 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100025c58\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100025c5c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100025c60\nADD             X29, SP, #0x20                                         ; +0xc, 0x100025c64\nMOV             X19, X2                                                ; +0x10, 0x100025c68\nMOV             X20, X1                                                ; +0x14, 0x100025c6c\nMOV             X21, X0                                                ; +0x18, 0x100025c70\nLDR             X0, [X0,#0x470]                                        ; +0x1c, 0x100025c74\nCBZ             X0, loc_100025C9C                                      ; +0x20, 0x100025c78\nLDRB            W22, [X0,#0x1E0]                                       ; +0x24, 0x100025c7c\nMOV             X1, X20                                                ; +0x28, 0x100025c80\nBL              sub_100525820                                          ; +0x2c, 0x100025c84\nLDRB            W8, [X21,#0x480]                                       ; +0x30, 0x100025c88\nTBZ             W8, #0, loc_100025CC4                                  ; +0x34, 0x100025c8c\nTBZ             W22, #0, loc_100025CA4                                 ; +0x38, 0x100025c90\nMOV             W8, #0x398                                             ; +0x3c, 0x100025c94\nB               loc_100025CA8                                          ; +0x40, 0x100025c98\nLDRB            W8, [X21,#0x480]                                       ; +0x44, 0x100025c9c\nTBZ             W8, #0, loc_100025CC4                                  ; +0x48, 0x100025ca0\nMOV             W8, #0x390                                             ; +0x4c, 0x100025ca4\nLDR             X0, [X21,#0x478]                                       ; +0x50, 0x100025ca8\nLDR             X9, [X0]                                               ; +0x54, 0x100025cac\nLDR             X8, [X9,X8]                                            ; +0x58, 0x100025cb0\nMOV             X1, X20                                                ; +0x5c, 0x100025cb4\nMOV             X2, X19                                                ; +0x60, 0x100025cb8\nBLR             X8                                                     ; +0x64, 0x100025cbc\nSTRB            WZR, [X21,#0x480]                                      ; +0x68, 0x100025cc0\nMOV             X0, X21                                                ; +0x6c, 0x100025cc4\nMOV             X1, X20                                                ; +0x70, 0x100025cc8\nMOV             X2, X19                                                ; +0x74, 0x100025ccc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x78, 0x100025cd0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x7c, 0x100025cd4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x80, 0x100025cd8\nB               FLAlertLayer__ccTouchEnded                             ; +0x84, 0x100025cdc", "xrefs": ["sub_100025CE0 @ 0x100025ce4", "<???> @ 0x1008af6d8", "<???> @ 0x100993d78"], "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"}