{"type": "func", "start": 13268396, "end": 13268516, "name": "DeathStatsPopup::onClearFetched", "pseudocode": "// \n// DeathStatsPopup::onClearFetched from 0xca75ac to 0xca7624 (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9fda8\n// > DeathStatsPopup::init @ 0xca809c\n// > <???> @ 0x1544708\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 13:06:03 +0000\n// \n\nLevelEditorLayer **__fastcall DeathStatsPopup::onClearFetched(LevelEditorLayer **this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x1\n  __int64 v3; // x1\n  char v4; // w2\n  DeathStatsPopup *v5; // x19\n\n  v2 = (__int64)*(this + 127);\n  if ( v2 )\n  {\n    v3 = *(_QWORD *)(v2 + 1936);\n    if ( v3 )\n    {\n      v4 = *(_BYTE *)(v3 + 1760);\n      *(_DWORD *)(v3 + 1752) = 0;\n      *(_DWORD *)(v3 + 1756) = 0;\n      if ( (v4 & 1) != 0 )\n      {\n        **(_BYTE **)(v3 + 1776) = 0;\n        *(_QWORD *)(v3 + 1768) = 0;\n      }\n      else\n      {\n        *(_BYTE *)(v3 + 1761) = 0;\n        *(_BYTE *)(v3 + 1760) = 0;\n      }\n      v5 = (DeathStatsPopup *)this;\n      LevelEditorLayer::rebuildDeathOverlay(*(this + 127));\n      return (LevelEditorLayer **)DeathStatsPopup::setStatus(v5, \"Fetched death data cleared.\");\n    }\n  }\n  return this;\n}", "assembly": "; \n; DeathStatsPopup::onClearFetched from 0xca75ac to 0xca7624 (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9fda8\n; > DeathStatsPopup::init @ 0xca809c\n; > <???> @ 0x1544708\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 13:06:03 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xca75ac\nMOV             X29, SP                                                ; +0x4, 0xca75b0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xca75b4\nLDR             X1, [X0,#0x3F8]                                        ; +0xc, 0xca75b8\nCBZ             X1, loc_CA7618                                         ; +0x10, 0xca75bc\nLDR             X1, [X1,#0x790]                                        ; +0x14, 0xca75c0\nCBZ             X1, loc_CA7618                                         ; +0x18, 0xca75c4\nLDRB            W2, [X1,#0x6E0]                                        ; +0x1c, 0xca75c8\nADD             X3, X1, #0x6E0                                         ; +0x20, 0xca75cc\nSTR             WZR, [X1,#0x6D8]                                       ; +0x24, 0xca75d0\nSTR             WZR, [X1,#0x6DC]                                       ; +0x28, 0xca75d4\nTBNZ            W2, #0, loc_CA7608                                     ; +0x2c, 0xca75d8\nSTRB            WZR, [X1,#0x6E1]                                       ; +0x30, 0xca75dc\nSTRB            WZR, [X1,#0x6E0]                                       ; +0x34, 0xca75e0\nMOV             X19, X0                                                ; +0x38, 0xca75e4\nLDR             X0, [X0,#0x3F8]; this                                  ; +0x3c, 0xca75e8\nBL              _ZN16LevelEditorLayer19rebuildDeathOverlayEv; LevelEditorLayer::rebuildDeathOverlay(void) ; +0x40, 0xca75ec\nMOV             X0, X19; this                                          ; +0x44, 0xca75f0\nADRP            X1, #aFetchedDeathDa@PAGE; \"Fetched death data cleared.\" ; +0x48, 0xca75f4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0xca75f8\nADD             X1, X1, #aFetchedDeathDa@PAGEOFF; \"Fetched death data cleared.\" ; +0x50, 0xca75fc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xca7600\nB               _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x58, 0xca7604\nLDR             X1, [X3,#0x10]                                         ; +0x5c, 0xca7608\nSTRB            WZR, [X1]                                              ; +0x60, 0xca760c\nSTR             XZR, [X3,#8]                                           ; +0x64, 0xca7610\nB               loc_CA75E4                                             ; +0x68, 0xca7614\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x6c, 0xca7618\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x70, 0xca761c\nRET                                                                    ; +0x74, 0xca7620", "xrefs": ["<???> @ 0x9fda8", "DeathStatsPopup::init @ 0xca809c", "<???> @ 0x1544708"], "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"}