{"type": "func", "start": 13277948, "end": 13278116, "name": "DeathTrackerPopup::ccTouchEnded", "pseudocode": "// \n// DeathTrackerPopup::ccTouchEnded from 0xca9afc to 0xca9ba4 (168 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0xca9ba8\n// > <???> @ 0x9bd28\n// > <???> @ 0x14f8e00\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::ccTouchEnded(__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::ccTouchEnded(a1, (__int64)a2);\n      }\nLABEL_11:\n      v8 = *(_QWORD *)(a1 + 688);\n      if ( v8 )\n        ScrollableContentLayer::handleTouchEnded(v8, a2);\n      return FLAlertLayer::ccTouchEnded(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::ccTouchEnded(a1, (__int64)a2);\n  }\n  return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchEnded from 0xca9afc to 0xca9ba4 (168 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0xca9ba8\n; > <???> @ 0x9bd28\n; > <???> @ 0x14f8e00\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, 0xca9afc\nMOV             X29, SP                                                ; +0x4, 0xca9b00\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xca9b04\nMOV             X19, X0                                                ; +0xc, 0xca9b08\nMOV             X20, X1                                                ; +0x10, 0xca9b0c\nLDR             W0, [X0,#0x2D8]                                        ; +0x14, 0xca9b10\nCBZ             W0, loc_CA9B54                                         ; +0x18, 0xca9b14\nCMP             W0, #2                                                 ; +0x1c, 0xca9b18\nB.EQ            loc_CA9B80                                             ; +0x20, 0xca9b1c\nSUB             W0, W0, #1                                             ; +0x24, 0xca9b20\nCMP             W0, #1                                                 ; +0x28, 0xca9b24\nB.LS            loc_CA9B88                                             ; +0x2c, 0xca9b28\nLDR             X0, [X19,#0x2D0]; this                                 ; +0x30, 0xca9b2c\nCBZ             X0, loc_CA9B40                                         ; +0x34, 0xca9b30\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x38, 0xca9b34\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x3c, 0xca9b38\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x40, 0xca9b3c\nMOV             X0, X19                                                ; +0x44, 0xca9b40\nMOV             X1, X20                                                ; +0x48, 0xca9b44\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x4c, 0xca9b48\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x50, 0xca9b4c\nB               _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x54, 0xca9b50\nLDR             X0, [X19,#0x2C8]; this                                 ; +0x58, 0xca9b54\nCBZ             X0, loc_CA9B40                                         ; +0x5c, 0xca9b58\nMOV             X1, X20; cocos2d::CCTouch *                            ; +0x60, 0xca9b5c\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x64, 0xca9b60\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x68, 0xca9b64\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x6c, 0xca9b68\nMOV             X0, X19                                                ; +0x70, 0xca9b6c\nMOV             X1, X20                                                ; +0x74, 0xca9b70\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x78, 0xca9b74\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0xca9b78\nB               _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x80, 0xca9b7c\nLDRB            W0, [X19,#0x3DA]                                       ; +0x84, 0xca9b80\nCBNZ            W0, loc_CA9B54                                         ; +0x88, 0xca9b84\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x8c, 0xca9b88\nCBZ             X0, loc_CA9B40                                         ; +0x90, 0xca9b8c\nMOV             X1, X20; cocos2d::CCTouch *                            ; +0x94, 0xca9b90\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x98, 0xca9b94\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x9c, 0xca9b98\nLDR             X2, [X29,#0x30+var_8]                                  ; +0xa0, 0xca9b9c\nB               loc_CA9B40                                             ; +0xa4, 0xca9ba0", "xrefs": ["`non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0xca9ba8", "<???> @ 0x9bd28", "<???> @ 0x14f8e00"], "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"}