{"type": "func", "start": 4304240624, "end": 4304240689, "name": "DeathTrackerPopup::setIDPopupClosed", "pseudocode": "// \n// DeathTrackerPopup::setIDPopupClosed from 0x1008d7ff0 to 0x1008d8031 (65 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bb1b00\n// \n// This function is hookable on this platform (idp: pc, 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 12:37:42 +0000\n// \n\nvoid __fastcall DeathTrackerPopup::setIDPopupClosed(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // rax\n  int v4; // ecx\n\n  v3 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;\n  if ( (int)v3 > 0 )\n  {\n    if ( (int)v3 < a3 )\n      a3 = (*(_QWORD *)(a1 + 760) - *(_QWORD *)(a1 + 752)) >> 6;\n    v4 = 1;\n    if ( a3 >= 2 )\n      v4 = a3;\n    *(_BYTE *)(a1 + 732) = 0;\n    *(_DWORD *)(a1 + 736) = v3 - v4;\n    sub_1008CDF10(a1);\n  }\n}", "assembly": "; \n; DeathTrackerPopup::setIDPopupClosed from 0x1008d7ff0 to 0x1008d8031 (65 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bb1b00\n; \n; This function is hookable on this platform (idp: pc, 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 12:37:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008d7ff0\nmov     rbp, rsp                                                       ; +0x1, 0x1008d7ff1\nmov     rax, [rdi+2F8h]                                                ; +0x4, 0x1008d7ff4\nsub     rax, [rdi+2F0h]                                                ; +0xb, 0x1008d7ffb\nshr     rax, 6                                                         ; +0x12, 0x1008d8002\ntest    eax, eax                                                       ; +0x16, 0x1008d8006\njle     short loc_1008D802F                                            ; +0x18, 0x1008d8008\ncmp     eax, edx                                                       ; +0x1a, 0x1008d800a\ncmovl   edx, eax                                                       ; +0x1c, 0x1008d800c\ncmp     edx, 2                                                         ; +0x1f, 0x1008d800f\nmov     ecx, 1                                                         ; +0x22, 0x1008d8012\ncmovge  ecx, edx                                                       ; +0x27, 0x1008d8017\nmov     byte ptr [rdi+2DCh], 0                                         ; +0x2a, 0x1008d801a\nsub     eax, ecx                                                       ; +0x31, 0x1008d8021\nmov     [rdi+2E0h], eax                                                ; +0x33, 0x1008d8023\npop     rbp                                                            ; +0x39, 0x1008d8029\njmp     sub_1008CDF10                                                  ; +0x3a, 0x1008d802a\npop     rbp                                                            ; +0x3f, 0x1008d802f\nretn                                                                   ; +0x40, 0x1008d8030", "xrefs": ["<???> @ 0x100bb1b00"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}