{"type": "func", "start": 7801598, "end": 7801676, "name": "DeathTrackerPopup::ccTouchEnded", "pseudocode": "// \n// DeathTrackerPopup::ccTouchEnded from 0x770afe to 0x770b4c (78 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0x770b50\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::ccTouchEnded(int a1, cocos2d::CCTouch *a2)\n{\n  int v3; // r3\n  DeathHistogram *v5; // r0\n  clock_t 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::ccTouchEnded(a1, (int)a2);\n  }\n  v7 = *(_DWORD *)(a1 + 532);\n  if ( v7 )\n    ScrollableContentLayer::handleTouchEnded(v7, a2);\n  return FLAlertLayer::ccTouchEnded(a1, (int)a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchEnded from 0x770afe to 0x770b4c (78 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0x770b50\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, 0x770afe\nMOV             R4, R0                                                 ; +0x2, 0x770b00\nLDR.W           R3, [R0,#0x230]                                        ; +0x4, 0x770b02\nMOV             R5, R1                                                 ; +0x8, 0x770b06\nMOV             R6, R2                                                 ; +0xa, 0x770b08\nCBZ             R3, loc_770B16                                         ; +0xc, 0x770b0a\nCMP             R3, #2                                                 ; +0xe, 0x770b0c\nBNE             loc_770B30                                             ; +0x10, 0x770b0e\nLDRB.W          R2, [R0,#0x2C2]                                        ; +0x12, 0x770b10\nCBZ             R2, loc_770B30                                         ; +0x16, 0x770b14\nLDR.W           R0, [R4,#0x228]; this                                  ; +0x18, 0x770b16\nCBZ             R0, loc_770B22                                         ; +0x1c, 0x770b1a\nMOV             R1, R5; cocos2d::CCTouch *                             ; +0x1e, 0x770b1c\nBL              _ZN14DeathHistogram16handleTouchEndedEPN7cocos2d7CCTouchE; DeathHistogram::handleTouchEnded(cocos2d::CCTouch *) ; +0x20, 0x770b1e\nMOV             R0, R4                                                 ; +0x24, 0x770b22\nMOV             R1, R5                                                 ; +0x26, 0x770b24\nMOV             R2, R6                                                 ; +0x28, 0x770b26\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x770b28\nB.W             _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x2e, 0x770b2c\nSUBS            R3, #1                                                 ; +0x32, 0x770b30\nCMP             R3, #1                                                 ; +0x34, 0x770b32\nBHI             loc_770B46                                             ; +0x36, 0x770b34\nLDR.W           R0, [R4,#0x214]; this                                  ; +0x38, 0x770b36\nCMP             R0, #0                                                 ; +0x3c, 0x770b3a\nBEQ             loc_770B22                                             ; +0x3e, 0x770b3c\nMOV             R1, R5; cocos2d::CCTouch *                             ; +0x40, 0x770b3e\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x42, 0x770b40\nB               loc_770B22                                             ; +0x46, 0x770b44\nLDR.W           R0, [R4,#0x22C]                                        ; +0x48, 0x770b46\nB               loc_770B1A                                             ; +0x4c, 0x770b4a", "xrefs": ["`non-virtual thunk to'DeathTrackerPopup::ccTouchEnded @ 0x770b50"], "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"}