{"type": "func", "start": 4299950976, "end": 4299951036, "name": "DeathTrackerPopup::setIDPopupClosed", "pseudocode": "// \n// DeathTrackerPopup::setIDPopupClosed from 0x1004c0b80 to 0x1004c0bbc (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100984700\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:19 +0000\n// \n\nvoid __fastcall DeathTrackerPopup::setIDPopupClosed(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // x8\n  int v4; // w9\n\n  v3 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;\n  if ( (int)v3 >= 1 )\n  {\n    if ( (int)v3 >= a3 )\n      v4 = a3;\n    else\n      v4 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;\n    if ( v4 <= 1 )\n      v4 = 1;\n    *(_BYTE *)(a1 + 732) = 0;\n    *(_DWORD *)(a1 + 736) = v3 - v4;\n    sub_1004BBCDC(a1);\n  }\n}", "assembly": "; \n; DeathTrackerPopup::setIDPopupClosed from 0x1004c0b80 to 0x1004c0bbc (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100984700\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:19 +0000\n; \nLDR             X8, [X0,#0x2F8]                                        ; +0x0, 0x1004c0b80\nLDR             X9, [X0,#0x2F0]                                        ; +0x4, 0x1004c0b84\nSUB             X8, X8, X9                                             ; +0x8, 0x1004c0b88\nLSR             X8, X8, #6                                             ; +0xc, 0x1004c0b8c\nCMP             W8, #1                                                 ; +0x10, 0x1004c0b90\nB.LT            locret_1004C0BB8                                       ; +0x14, 0x1004c0b94\nCMP             W8, W2                                                 ; +0x18, 0x1004c0b98\nCSEL            W9, W8, W2, LT                                         ; +0x1c, 0x1004c0b9c\nCMP             W9, #1                                                 ; +0x20, 0x1004c0ba0\nCSINC           W9, W9, WZR, GT                                        ; +0x24, 0x1004c0ba4\nSTRB            WZR, [X0,#0x2DC]                                       ; +0x28, 0x1004c0ba8\nSUB             W8, W8, W9                                             ; +0x2c, 0x1004c0bac\nSTR             W8, [X0,#0x2E0]                                        ; +0x30, 0x1004c0bb0\nB               sub_1004BBCDC                                          ; +0x34, 0x1004c0bb4\nRET                                                                    ; +0x38, 0x1004c0bb8", "xrefs": ["<???> @ 0x100984700"], "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"}