{"type": "func", "start": 7801684, "end": 7801762, "name": "DeathTrackerPopup::ccTouchCancelled", "pseudocode": "// \n// DeathTrackerPopup::ccTouchCancelled from 0x770b54 to 0x770ba2 (78 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0x770ba6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:15 +0000\n// \n\nint __fastcall DeathTrackerPopup::ccTouchCancelled(int a1, cocos2d::CCTouch *a2)\n{\n  int v3; // r3\n  DeathHistogram *v5; // r0\n  int v7; // r0\n\n  v3 = *(_DWORD *)(a1 + 560);\n  if ( !v3 || v3 == 2 && *(_BYTE *)(a1 + 706) )\n  {\n    v5 = *(DeathHistogram **)(a1 + 552);\n    goto LABEL_5;\n  }\n  if ( (unsigned int)(v3 - 1) > 1 )\n  {\n    v5 = *(DeathHistogram **)(a1 + 556);\nLABEL_5:\n    if ( v5 )\n      DeathHistogram::handleTouchEnded(v5, a2);\n    return FLAlertLayer::ccTouchCancelled(a1, (int)a2);\n  }\n  v7 = *(_DWORD *)(a1 + 532);\n  if ( v7 )\n    ScrollableContentLayer::handleTouchCancelled(v7, a2);\n  return FLAlertLayer::ccTouchCancelled(a1, (int)a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchCancelled from 0x770b54 to 0x770ba2 (78 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0x770ba6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:15 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x770b54\nMOV             R4, R0                                                 ; +0x2, 0x770b56\nLDR.W           R3, [R0,#0x230]                                        ; +0x4, 0x770b58\nMOV             R5, R1                                                 ; +0x8, 0x770b5c\nMOV             R6, R2                                                 ; +0xa, 0x770b5e\nCBZ             R3, loc_770B6C                                         ; +0xc, 0x770b60\nCMP             R3, #2                                                 ; +0xe, 0x770b62\nBNE             loc_770B86                                             ; +0x10, 0x770b64\nLDRB.W          R2, [R0,#0x2C2]                                        ; +0x12, 0x770b66\nCBZ             R2, loc_770B86                                         ; +0x16, 0x770b6a\nLDR.W           R0, [R4,#0x228]; this                                  ; +0x18, 0x770b6c\nCBZ             R0, loc_770B78                                         ; +0x1c, 0x770b70\nMOV             R1, R5; cocos2d::CCTouch *                             ; +0x1e, 0x770b72\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x20, 0x770b74\nMOV             R0, R4                                                 ; +0x24, 0x770b78\nMOV             R1, R5                                                 ; +0x26, 0x770b7a\nMOV             R2, R6                                                 ; +0x28, 0x770b7c\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x770b7e\nB.W             _ZN12FLAlertLayer16ccTouchCancelledEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchCancelled(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x2e, 0x770b82\nSUBS            R3, #1                                                 ; +0x32, 0x770b86\nCMP             R3, #1                                                 ; +0x34, 0x770b88\nBHI             loc_770B9C                                             ; +0x36, 0x770b8a\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x38, 0x770b8c\nCMP             R0, #0                                                 ; +0x3c, 0x770b90\nBEQ             loc_770B78                                             ; +0x3e, 0x770b92\nMOV             R1, R5; cocos2d::CCTouch *                             ; +0x40, 0x770b94\nBL              _ZN22ScrollableContentLayer20handleTouchCancelledEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchCancelled(cocos2d::CCTouch *) ; +0x42, 0x770b96\nB               loc_770B78                                             ; +0x46, 0x770b9a\nLDR.W           R0, [R4,#0x22C]                                        ; +0x48, 0x770b9c\nB               loc_770B70                                             ; +0x4c, 0x770ba0", "xrefs": ["`non-virtual thunk to'DeathTrackerPopup::ccTouchCancelled @ 0x770ba6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}