{"type": "func", "start": 7794956, "end": 7795012, "name": "DeathStatsPopup::onClearLocal", "pseudocode": "// \n// DeathStatsPopup::onClearLocal from 0x76f10c to 0x76f144 (56 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:14 +0000\n// \n\nint __fastcall DeathStatsPopup::onClearLocal(int this, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer **v2; // r4\n  int v3; // r3\n\n  v2 = (LevelEditorLayer **)this;\n  v3 = *(_DWORD *)(this + 712);\n  if ( v3 )\n  {\n    this = *(_DWORD *)(v3 + 1408);\n    if ( this )\n    {\n      GJGameLevel::clearDeathTrackerData(this);\n      GJGameLevel::clearDeathMarkerData(*((_DWORD *)v2[178] + 352));\n      LevelEditorLayer::rebuildDeathOverlay(v2[178]);\n      return DeathStatsPopup::setStatus((DeathStatsPopup *)v2, \"Local death data cleared.\");\n    }\n  }\n  return this;\n}", "assembly": "; \n; DeathStatsPopup::onClearLocal from 0x76f10c to 0x76f144 (56 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:14 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x76f10c\nMOV             R4, R0                                                 ; +0x2, 0x76f10e\nLDR.W           R3, [R0,#0x2C8]                                        ; +0x4, 0x76f110\nCBZ             R3, locret_76F142                                      ; +0x8, 0x76f114\nLDR.W           R0, [R3,#0x580]; this                                  ; +0xa, 0x76f116\nCBZ             R0, locret_76F142                                      ; +0xe, 0x76f11a\nBL              _ZN11GJGameLevel21clearDeathTrackerDataEv; GJGameLevel::clearDeathTrackerData(void) ; +0x10, 0x76f11c\nLDR.W           R3, [R4,#0x2C8]                                        ; +0x14, 0x76f120\nLDR.W           R0, [R3,#0x580]; this                                  ; +0x18, 0x76f124\nBL              _ZN11GJGameLevel20clearDeathMarkerDataEv; GJGameLevel::clearDeathMarkerData(void) ; +0x1c, 0x76f128\nLDR.W           R0, [R4,#0x2C8]; this                                  ; +0x20, 0x76f12c\nBL              _ZN16LevelEditorLayer19rebuildDeathOverlayEv; LevelEditorLayer::rebuildDeathOverlay(void) ; +0x24, 0x76f130\nLDR             R1, =(aLocalDeathData - 0x76F13C); \"Local death data cleared.\" ; +0x28, 0x76f134\nMOV             R0, R4; this                                           ; +0x2a, 0x76f136\nADD             R1, PC; \"Local death data cleared.\"                    ; +0x2c, 0x76f138\nPOP.W           {R4,LR}                                                ; +0x2e, 0x76f13a\nB.W             _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x32, 0x76f13e\nPOP             {R4,PC}                                                ; +0x36, 0x76f142", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}