{"type": "func", "start": 13278124, "end": 13278292, "name": "DeathTrackerPopup::ccTouchCancelled", "pseudocode": "// \n// DeathTrackerPopup::ccTouchCancelled from 0xca9bac to 0xca9c54 (168 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0xca9c58\n// > <???> @ 0xe79a0\n// > <???> @ 0x14f8e08\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:04 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::ccTouchCancelled(__int64 a1, cocos2d::CCTouch *a2)\n{\n  int v4; // w0\n  DeathHistogram *v5; // x0\n  DeathHistogram *v6; // x0\n  __int64 v8; // x0\n\n  v4 = *(_DWORD *)(a1 + 728);\n  if ( v4 )\n  {\n    if ( v4 != 2 )\n    {\n      if ( (unsigned int)(v4 - 1) > 1 )\n      {\n        v5 = *(DeathHistogram **)(a1 + 720);\n        if ( v5 )\n          DeathHistogram::handleTouchEnded(v5, a2);\n        return FLAlertLayer::ccTouchCancelled(a1, (__int64)a2);\n      }\nLABEL_11:\n      v8 = *(_QWORD *)(a1 + 688);\n      if ( v8 )\n        ScrollableContentLayer::handleTouchCancelled(v8, a2);\n      return FLAlertLayer::ccTouchCancelled(a1, (__int64)a2);\n    }\n    if ( !*(_BYTE *)(a1 + 986) )\n      goto LABEL_11;\n  }\n  v6 = *(DeathHistogram **)(a1 + 712);\n  if ( v6 )\n  {\n    DeathHistogram::handleTouchEnded(v6, a2);\n    return FLAlertLayer::ccTouchCancelled(a1, (__int64)a2);\n  }\n  return FLAlertLayer::ccTouchCancelled(a1, (__int64)a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchCancelled from 0xca9bac to 0xca9c54 (168 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0xca9c58\n; > <???> @ 0xe79a0\n; > <???> @ 0x14f8e08\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:04 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xca9bac\nMOV             X29, SP                                                ; +0x4, 0xca9bb0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xca9bb4\nMOV             X19, X0                                                ; +0xc, 0xca9bb8\nMOV             X20, X1                                                ; +0x10, 0xca9bbc\nLDR             W0, [X0,#0x2D8]                                        ; +0x14, 0xca9bc0\nCBZ             W0, loc_CA9C04                                         ; +0x18, 0xca9bc4\nCMP             W0, #2                                                 ; +0x1c, 0xca9bc8\nB.EQ            loc_CA9C30                                             ; +0x20, 0xca9bcc\nSUB             W0, W0, #1                                             ; +0x24, 0xca9bd0\nCMP             W0, #1                                                 ; +0x28, 0xca9bd4\nB.LS            loc_CA9C38                                             ; +0x2c, 0xca9bd8\nLDR             X0, [X19,#0x2D0]; this                                 ; +0x30, 0xca9bdc\nCBZ             X0, loc_CA9BF0                                         ; +0x34, 0xca9be0\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x38, 0xca9be4\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x3c, 0xca9be8\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x40, 0xca9bec\nMOV             X0, X19                                                ; +0x44, 0xca9bf0\nMOV             X1, X20                                                ; +0x48, 0xca9bf4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x4c, 0xca9bf8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x50, 0xca9bfc\nB               _ZN12FLAlertLayer16ccTouchCancelledEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchCancelled(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x54, 0xca9c00\nLDR             X0, [X19,#0x2C8]; this                                 ; +0x58, 0xca9c04\nCBZ             X0, loc_CA9BF0                                         ; +0x5c, 0xca9c08\nMOV             X1, X20; cocos2d::CCTouch *                            ; +0x60, 0xca9c0c\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x64, 0xca9c10\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x68, 0xca9c14\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x6c, 0xca9c18\nMOV             X0, X19                                                ; +0x70, 0xca9c1c\nMOV             X1, X20                                                ; +0x74, 0xca9c20\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x78, 0xca9c24\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0xca9c28\nB               _ZN12FLAlertLayer16ccTouchCancelledEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchCancelled(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x80, 0xca9c2c\nLDRB            W0, [X19,#0x3DA]                                       ; +0x84, 0xca9c30\nCBNZ            W0, loc_CA9C04                                         ; +0x88, 0xca9c34\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x8c, 0xca9c38\nCBZ             X0, loc_CA9BF0                                         ; +0x90, 0xca9c3c\nMOV             X1, X20; cocos2d::CCTouch *                            ; +0x94, 0xca9c40\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x98, 0xca9c44\nBL              _ZN22ScrollableContentLayer20handleTouchCancelledEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchCancelled(cocos2d::CCTouch *) ; +0x9c, 0xca9c48\nLDR             X2, [X29,#0x30+var_8]                                  ; +0xa0, 0xca9c4c\nB               loc_CA9BF0                                             ; +0xa4, 0xca9c50", "xrefs": ["`non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0xca9c58", "<???> @ 0xe79a0", "<???> @ 0x14f8e08"], "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"}