{"type": "func", "start": 4299951744, "end": 4299951888, "name": "DeathTrackerPopup::ccTouchEnded", "pseudocode": "// \n// DeathTrackerPopup::ccTouchEnded from 0x1004c0e80 to 0x1004c0f10 (144 bytes)\n// \n// 2 xrefs:\n// > sub_1004C0F10 @ 0x1004c0f14\n// > <???> @ 0x100984550\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 11:06:20 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::ccTouchEnded(__int64 a1, __int64 a2)\n{\n  int v4; // w8\n  __int64 v5; // x0\n  __int64 v6; // x0\n\n  v4 = *(_DWORD *)(a1 + 728);\n  if ( !v4 )\n  {\nLABEL_4:\n    v5 = *(_QWORD *)(a1 + 712);\n    if ( !v5 )\n      return FLAlertLayer::ccTouchEnded(a1, a2);\n    goto LABEL_10;\n  }\n  if ( v4 == 2 )\n  {\n    if ( *(_BYTE *)(a1 + 986) == 1 )\n      goto LABEL_4;\n    goto LABEL_7;\n  }\n  if ( (unsigned int)(v4 - 1) <= 1 )\n  {\nLABEL_7:\n    v6 = *(_QWORD *)(a1 + 688);\n    if ( v6 )\n      sub_100525820(v6, a2);\n    return FLAlertLayer::ccTouchEnded(a1, a2);\n  }\n  v5 = *(_QWORD *)(a1 + 720);\n  if ( v5 )\nLABEL_10:\n    sub_1004AF8E8(v5);\n  return FLAlertLayer::ccTouchEnded(a1, a2);\n}", "assembly": "; \n; DeathTrackerPopup::ccTouchEnded from 0x1004c0e80 to 0x1004c0f10 (144 bytes)\n; \n; 2 xrefs:\n; > sub_1004C0F10 @ 0x1004c0f14\n; > <???> @ 0x100984550\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 11:06:20 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1004c0e80\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1004c0e84\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1004c0e88\nADD             X29, SP, #0x20                                         ; +0xc, 0x1004c0e8c\nMOV             X19, X2                                                ; +0x10, 0x1004c0e90\nMOV             X20, X1                                                ; +0x14, 0x1004c0e94\nMOV             X21, X0                                                ; +0x18, 0x1004c0e98\nLDR             W8, [X0,#0x2D8]                                        ; +0x1c, 0x1004c0e9c\nCBZ             W8, loc_1004C0EB8                                      ; +0x20, 0x1004c0ea0\nCMP             W8, #2                                                 ; +0x24, 0x1004c0ea4\nB.NE            loc_1004C0EC4                                          ; +0x28, 0x1004c0ea8\nLDRB            W8, [X21,#0x3DA]                                       ; +0x2c, 0x1004c0eac\nCMP             W8, #1                                                 ; +0x30, 0x1004c0eb0\nB.NE            loc_1004C0ED0                                          ; +0x34, 0x1004c0eb4\nLDR             X0, [X21,#0x2C8]                                       ; +0x38, 0x1004c0eb8\nCBNZ            X0, loc_1004C0EEC                                      ; +0x3c, 0x1004c0ebc\nB               loc_1004C0EF4                                          ; +0x40, 0x1004c0ec0\nSUB             W8, W8, #1                                             ; +0x44, 0x1004c0ec4\nCMP             W8, #1                                                 ; +0x48, 0x1004c0ec8\nB.HI            loc_1004C0EE4                                          ; +0x4c, 0x1004c0ecc\nLDR             X0, [X21,#0x2B0]                                       ; +0x50, 0x1004c0ed0\nCBZ             X0, loc_1004C0EF4                                      ; +0x54, 0x1004c0ed4\nMOV             X1, X20                                                ; +0x58, 0x1004c0ed8\nBL              sub_100525820                                          ; +0x5c, 0x1004c0edc\nB               loc_1004C0EF4                                          ; +0x60, 0x1004c0ee0\nLDR             X0, [X21,#0x2D0]                                       ; +0x64, 0x1004c0ee4\nCBZ             X0, loc_1004C0EF4                                      ; +0x68, 0x1004c0ee8\nMOV             X1, X20                                                ; +0x6c, 0x1004c0eec\nBL              sub_1004AF8E8                                          ; +0x70, 0x1004c0ef0\nMOV             X0, X21                                                ; +0x74, 0x1004c0ef4\nMOV             X1, X20                                                ; +0x78, 0x1004c0ef8\nMOV             X2, X19                                                ; +0x7c, 0x1004c0efc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x1004c0f00\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x1004c0f04\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x88, 0x1004c0f08\nB               FLAlertLayer__ccTouchEnded                             ; +0x8c, 0x1004c0f0c", "xrefs": ["sub_1004C0F10 @ 0x1004c0f14", "<???> @ 0x100984550"], "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"}