{"type": "func", "start": 13268304, "end": 13268396, "name": "DeathStatsPopup::onClearLocal", "pseudocode": "// \n// DeathStatsPopup::onClearLocal from 0xca7550 to 0xca75ac (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x531b8\n// > DeathStatsPopup::init @ 0xca7ff0\n// > <???> @ 0x1541d00\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\n__int64 __fastcall DeathStatsPopup::onClearLocal(DeathStatsPopup *this, cocos2d::CCObject *a2)\n{\n  __int64 result; // x0\n\n  result = *((_QWORD *)this + 127);\n  if ( result )\n  {\n    result = *(_QWORD *)(result + 1936);\n    if ( result )\n    {\n      GJGameLevel::clearDeathTrackerData(result);\n      GJGameLevel::clearDeathMarkerData(*(_QWORD *)(*((_QWORD *)this + 127) + 1936LL));\n      LevelEditorLayer::rebuildDeathOverlay(*((LevelEditorLayer **)this + 127));\n      return DeathStatsPopup::setStatus(this, \"Local death data cleared.\");\n    }\n  }\n  return result;\n}", "assembly": "; \n; DeathStatsPopup::onClearLocal from 0xca7550 to 0xca75ac (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x531b8\n; > DeathStatsPopup::init @ 0xca7ff0\n; > <???> @ 0x1541d00\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, 0xca7550\nMOV             X29, SP                                                ; +0x4, 0xca7554\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xca7558\nMOV             X19, X0                                                ; +0xc, 0xca755c\nLDR             X0, [X0,#0x3F8]                                        ; +0x10, 0xca7560\nCBZ             X0, loc_CA75A0                                         ; +0x14, 0xca7564\nLDR             X0, [X0,#0x790]; this                                  ; +0x18, 0xca7568\nCBZ             X0, loc_CA75A0                                         ; +0x1c, 0xca756c\nBL              _ZN11GJGameLevel21clearDeathTrackerDataEv; GJGameLevel::clearDeathTrackerData(void) ; +0x20, 0xca7570\nLDR             X0, [X19,#0x3F8]                                       ; +0x24, 0xca7574\nLDR             X0, [X0,#0x790]; this                                  ; +0x28, 0xca7578\nBL              _ZN11GJGameLevel20clearDeathMarkerDataEv; GJGameLevel::clearDeathMarkerData(void) ; +0x2c, 0xca757c\nLDR             X0, [X19,#0x3F8]; this                                 ; +0x30, 0xca7580\nBL              _ZN16LevelEditorLayer19rebuildDeathOverlayEv; LevelEditorLayer::rebuildDeathOverlay(void) ; +0x34, 0xca7584\nMOV             X0, X19; this                                          ; +0x38, 0xca7588\nADRP            X1, #aLocalDeathData@PAGE; \"Local death data cleared.\" ; +0x3c, 0xca758c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0xca7590\nADD             X1, X1, #aLocalDeathData@PAGEOFF; \"Local death data cleared.\" ; +0x44, 0xca7594\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xca7598\nB               _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x4c, 0xca759c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0xca75a0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xca75a4\nRET                                                                    ; +0x58, 0xca75a8", "xrefs": ["<???> @ 0x531b8", "DeathStatsPopup::init @ 0xca7ff0", "<???> @ 0x1541d00"], "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"}