{"type": "func", "start": 5369887392, "end": 5369887511, "name": "DeathStatsPopup::onClearFetched", "pseudocode": "// \n// DeathStatsPopup::onClearFetched from 0x14011faa0 to 0x14011fb17 (119 bytes)\n// \n// 2 xrefs:\n// > DeathStatsPopup::init @ 0x14011ee08\n// > <???> @ 0x140916514\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:26:56 +0000\n// \n\n__int64 __fastcall DeathStatsPopup::onClearFetched(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 result; // rax\n  _QWORD *v6; // rax\n  __int64 v7; // rcx\n\n  result = *(_QWORD *)(a1 + 1000);\n  if ( result )\n  {\n    result = *(_QWORD *)(result + 2168);\n    if ( result )\n    {\n      *(_QWORD *)(result + 1984) = 0;\n      v6 = (_QWORD *)(result + 1992);\n      v6[2] = 0;\n      if ( v6[3] > 0xFu )\n        v6 = (_QWORD *)*v6;\n      *(_BYTE *)v6 = 0;\n      result = LevelEditorLayer::rebuildDeathOverlay(*(_QWORD *)(a1 + 1000), a2, a3, a4);\n      v7 = *(_QWORD *)(a1 + 1024);\n      if ( v7 )\n        return (**(__int64 (__fastcall ***)(__int64, const char *))(v7 + 360))(v7 + 360, \"Fetched death data cleared.\");\n    }\n  }\n  return result;\n}", "assembly": "; \n; DeathStatsPopup::onClearFetched from 0x14011faa0 to 0x14011fb17 (119 bytes)\n; \n; 2 xrefs:\n; > DeathStatsPopup::init @ 0x14011ee08\n; > <???> @ 0x140916514\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:26:56 +0000\n; \npush    rbx                                                            ; +0x0, 0x14011faa0\nsub     rsp, 20h                                                       ; +0x2, 0x14011faa2\nmov     rax, [rcx+3E8h]                                                ; +0x6, 0x14011faa6\nmov     rbx, rcx                                                       ; +0xd, 0x14011faad\ntest    rax, rax                                                       ; +0x10, 0x14011fab0\njz      short loc_14011FB11                                            ; +0x13, 0x14011fab3\nmov     rax, [rax+878h]                                                ; +0x15, 0x14011fab5\ntest    rax, rax                                                       ; +0x1c, 0x14011fabc\njz      short loc_14011FB11                                            ; +0x1f, 0x14011fabf\nxor     ecx, ecx                                                       ; +0x21, 0x14011fac1\nmov     [rax+7C0h], rcx                                                ; +0x23, 0x14011fac3\nadd     rax, 7C8h                                                      ; +0x2a, 0x14011faca\nmov     [rax+10h], rcx                                                 ; +0x30, 0x14011fad0\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x34, 0x14011fad4\njbe     short loc_14011FADE                                            ; +0x39, 0x14011fad9\nmov     rax, [rax]                                                     ; +0x3b, 0x14011fadb\nmov     [rax], cl                                                      ; +0x3e, 0x14011fade\nmov     rcx, [rbx+3E8h]                                                ; +0x40, 0x14011fae0\ncall    LevelEditorLayer__rebuildDeathOverlay                          ; +0x47, 0x14011fae7\nmov     rcx, [rbx+400h]                                                ; +0x4c, 0x14011faec\ntest    rcx, rcx                                                       ; +0x53, 0x14011faf3\njz      short loc_14011FB11                                            ; +0x56, 0x14011faf6\nadd     rcx, 168h                                                      ; +0x58, 0x14011faf8\nlea     rdx, aFetchedDeathDa; \"Fetched death data cleared.\"            ; +0x5f, 0x14011faff\nmov     rax, [rcx]                                                     ; +0x66, 0x14011fb06\nadd     rsp, 20h                                                       ; +0x69, 0x14011fb09\npop     rbx                                                            ; +0x6d, 0x14011fb0d\njmp     qword ptr [rax]                                                ; +0x6e, 0x14011fb0e\nadd     rsp, 20h                                                       ; +0x71, 0x14011fb11\npop     rbx                                                            ; +0x75, 0x14011fb15\nretn                                                                   ; +0x76, 0x14011fb16", "xrefs": ["DeathStatsPopup::init @ 0x14011ee08", "<???> @ 0x140916514"], "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"}