{"type": "func", "start": 5373029824, "end": 5373030023, "name": "LevelInfoLayer::onDeathTracker", "pseudocode": "// \n// LevelInfoLayer::onDeathTracker from 0x14041edc0 to 0x14041ee87 (199 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::setupProgressBars @ 0x14041fa30\n// > <???> @ 0x140926780\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 11:32:08 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelInfoLayer::onDeathTracker(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rax\n  __int64 SavedLevel; // rax\n  _QWORD *v5; // rax\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  if ( !*(_BYTE *)(a1 + 488) )\n  {\n    v2 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v6 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v2 = *(_QWORD *)&qword_14090BFB0;\n    }\n    v3 = *(_QWORD *)(a1 + 504);\n    if ( !v3\n      || (*(_DWORD *)(v3 + 992) - *(_DWORD *)(v3 + 996) <= 0\n        ? (!*(_BYTE *)(v3 + 721)\n         ? (SavedLevel = GameLevelManager::getSavedLevel(v2))\n         : (SavedLevel = GameLevelManager::getSavedGauntletLevel(v2)))\n        : (SavedLevel = GameLevelManager::getSavedDailyLevel(v2)),\n          !SavedLevel) )\n    {\n      SavedLevel = *(_QWORD *)(a1 + 504);\n    }\n    v5 = DeathTrackerPopup::create(SavedLevel);\n    (*(void (__fastcall **)(_QWORD *))(*v5 + 1064LL))(v5);\n  }\n}", "assembly": "; \n; LevelInfoLayer::onDeathTracker from 0x14041edc0 to 0x14041ee87 (199 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::setupProgressBars @ 0x14041fa30\n; > <???> @ 0x140926780\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 11:32:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041edc0\nsub     rsp, 20h                                                       ; +0x2, 0x14041edc2\nmov     rbx, rcx                                                       ; +0x6, 0x14041edc6\ncmp     byte ptr [rcx+1E8h], 0                                         ; +0x9, 0x14041edc9\njnz     loc_14041EE81                                                  ; +0x10, 0x14041edd0\nmov     rcx, cs:qword_14090BFB0                                        ; +0x16, 0x14041edd6\ntest    rcx, rcx                                                       ; +0x1d, 0x14041eddd\njnz     short loc_14041EE14                                            ; +0x20, 0x14041ede0\nmov     ecx, 690h; Size                                                ; +0x22, 0x14041ede2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x27, 0x14041ede7\nmov     [rsp+28h+arg_0], rax                                           ; +0x2c, 0x14041edec\nmov     rcx, rax                                                       ; +0x31, 0x14041edf1\ncall    GameLevelManager__GameLevelManager                             ; +0x34, 0x14041edf4\nnop                                                                    ; +0x39, 0x14041edf9\nmov     cs:qword_14090BFB0, rax                                        ; +0x3a, 0x14041edfa\nmov     rcx, [rax]                                                     ; +0x41, 0x14041ee01\nmov     rdx, [rcx+48h]                                                 ; +0x44, 0x14041ee04\nmov     rcx, rax                                                       ; +0x48, 0x14041ee08\ncall    rdx                                                            ; +0x4b, 0x14041ee0b\nmov     rcx, cs:qword_14090BFB0                                        ; +0x4d, 0x14041ee0d\nmov     rax, [rbx+1F8h]                                                ; +0x54, 0x14041ee14\ntest    rax, rax                                                       ; +0x5b, 0x14041ee1b\njz      short loc_14041EE5D                                            ; +0x5e, 0x14041ee1e\nmov     edx, [rax+3E0h]                                                ; +0x60, 0x14041ee20\nsub     edx, [rax+3E4h]                                                ; +0x66, 0x14041ee26\ntest    edx, edx                                                       ; +0x6c, 0x14041ee2c\njle     short loc_14041EE37                                            ; +0x6e, 0x14041ee2e\ncall    GameLevelManager__getSavedDailyLevel                           ; +0x70, 0x14041ee30\njmp     short loc_14041EE58                                            ; +0x75, 0x14041ee35\nmov     edx, [rax+148h]                                                ; +0x77, 0x14041ee37\nsub     edx, [rax+14Ch]                                                ; +0x7d, 0x14041ee3d\ncmp     byte ptr [rax+2D1h], 0                                         ; +0x83, 0x14041ee43\njz      short loc_14041EE53                                            ; +0x8a, 0x14041ee4a\ncall    GameLevelManager__getSavedGauntletLevel                        ; +0x8c, 0x14041ee4c\njmp     short loc_14041EE58                                            ; +0x91, 0x14041ee51\ncall    GameLevelManager__getSavedLevel                                ; +0x93, 0x14041ee53\ntest    rax, rax                                                       ; +0x98, 0x14041ee58\njnz     short loc_14041EE64                                            ; +0x9b, 0x14041ee5b\nmov     rax, [rbx+1F8h]                                                ; +0x9d, 0x14041ee5d\nmov     rcx, rax                                                       ; +0xa4, 0x14041ee64\ncall    DeathTrackerPopup__create                                      ; +0xa7, 0x14041ee67\nmov     rcx, [rax]                                                     ; +0xac, 0x14041ee6c\nmov     rdx, [rcx+428h]                                                ; +0xaf, 0x14041ee6f\nmov     rcx, rax                                                       ; +0xb6, 0x14041ee76\nadd     rsp, 20h                                                       ; +0xb9, 0x14041ee79\npop     rbx                                                            ; +0xbd, 0x14041ee7d\njmp     rdx                                                            ; +0xbe, 0x14041ee7e\nadd     rsp, 20h                                                       ; +0xc1, 0x14041ee81\npop     rbx                                                            ; +0xc5, 0x14041ee85\nretn                                                                   ; +0xc6, 0x14041ee86", "xrefs": ["LevelInfoLayer::setupProgressBars @ 0x14041fa30", "<???> @ 0x140926780"], "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"}