{"type": "func", "start": 13458156, "end": 13458320, "name": "EditorSoundsLayer::ccTouchEnded", "pseudocode": "// \n// EditorSoundsLayer::ccTouchEnded from 0xcd5aec to 0xcd5b90 (164 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0xcd5b94\n// > <???> @ 0x8ed68\n// > <???> @ 0x15006e0\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 13:06:30 +0000\n// \n\n__int64 __fastcall EditorSoundsLayer::ccTouchEnded(__int64 a1, cocos2d::CCTouch *a2, __int64 a3)\n{\n  __int64 v5; // x2\n  int v7; // w22\n\n  v5 = *(_QWORD *)(a1 + 1152);\n  if ( !v5 )\n  {\n    if ( !*(_BYTE *)(a1 + 1168) )\n      return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);\n    goto LABEL_7;\n  }\n  v7 = *(unsigned __int8 *)(v5 + 480);\n  ScrollableContentLayer::handleTouchEnded(*(_QWORD *)(a1 + 1152), a2);\n  if ( *(_BYTE *)(a1 + 1168) )\n  {\n    if ( v7 )\n    {\n      (*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 1160) + 920LL))(\n        *(_QWORD *)(a1 + 1160),\n        a2,\n        a3);\n      *(_BYTE *)(a1 + 1168) = 0;\n      return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);\n    }\nLABEL_7:\n    (*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 1160) + 912LL))(\n      *(_QWORD *)(a1 + 1160),\n      a2,\n      a3);\n    *(_BYTE *)(a1 + 1168) = 0;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchEnded from 0xcd5aec to 0xcd5b90 (164 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0xcd5b94\n; > <???> @ 0x8ed68\n; > <???> @ 0x15006e0\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 13:06:30 +0000\n; \nSTP             X29, X30, [SP,#-0x30+var_s0]!                          ; +0x0, 0xcd5aec\nMOV             X29, SP                                                ; +0x4, 0xcd5af0\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xcd5af4\nSTP             X21, X22, [SP,#var_s20]                                ; +0xc, 0xcd5af8\nMOV             X21, X2                                                ; +0x10, 0xcd5afc\nMOV             X19, X0                                                ; +0x14, 0xcd5b00\nLDR             X2, [X0,#0x480]                                        ; +0x18, 0xcd5b04\nMOV             X20, X1                                                ; +0x1c, 0xcd5b08\nCBZ             X2, loc_CD5B64                                         ; +0x20, 0xcd5b0c\nMOV             X0, X2; this                                           ; +0x24, 0xcd5b10\nLDRB            W22, [X2,#0x1E0]                                       ; +0x28, 0xcd5b14\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x2c, 0xcd5b18\nLDRB            W0, [X19,#0x490]                                       ; +0x30, 0xcd5b1c\nCBZ             W0, loc_CD5B48                                         ; +0x34, 0xcd5b20\nCBZ             W22, loc_CD5B6C                                        ; +0x38, 0xcd5b24\nLDR             X3, [X19,#0x488]                                       ; +0x3c, 0xcd5b28\nMOV             X1, X20                                                ; +0x40, 0xcd5b2c\nMOV             X2, X21                                                ; +0x44, 0xcd5b30\nMOV             X0, X3                                                 ; +0x48, 0xcd5b34\nLDR             X3, [X3]                                               ; +0x4c, 0xcd5b38\nLDR             X3, [X3,#0x398]                                        ; +0x50, 0xcd5b3c\nBLR             X3                                                     ; +0x54, 0xcd5b40\nSTRB            WZR, [X19,#0x490]                                      ; +0x58, 0xcd5b44\nMOV             X0, X19                                                ; +0x5c, 0xcd5b48\nMOV             X1, X20                                                ; +0x60, 0xcd5b4c\nMOV             X2, X21                                                ; +0x64, 0xcd5b50\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0xcd5b54\nLDP             X21, X22, [SP,#var_s20]                                ; +0x6c, 0xcd5b58\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x70, 0xcd5b5c\nB               _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x74, 0xcd5b60\nLDRB            W0, [X0,#0x490]                                        ; +0x78, 0xcd5b64\nCBZ             W0, loc_CD5B48                                         ; +0x7c, 0xcd5b68\nLDR             X3, [X19,#0x488]                                       ; +0x80, 0xcd5b6c\nMOV             X1, X20                                                ; +0x84, 0xcd5b70\nMOV             X2, X21                                                ; +0x88, 0xcd5b74\nMOV             X0, X3                                                 ; +0x8c, 0xcd5b78\nLDR             X3, [X3]                                               ; +0x90, 0xcd5b7c\nLDR             X3, [X3,#0x390]                                        ; +0x94, 0xcd5b80\nBLR             X3                                                     ; +0x98, 0xcd5b84\nSTRB            WZR, [X19,#0x490]                                      ; +0x9c, 0xcd5b88\nB               loc_CD5B48                                             ; +0xa0, 0xcd5b8c", "xrefs": ["`non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0xcd5b94", "<???> @ 0x8ed68", "<???> @ 0x15006e0"], "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"}