{"type": "func", "start": 7795016, "end": 7795098, "name": "DeathStatsPopup::onClearFetched", "pseudocode": "// \n// DeathStatsPopup::onClearFetched from 0x76f148 to 0x76f19a (82 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::onClearFetched(int this, cocos2d::CCObject *a2)\n{\n  DeathStatsPopup *v2; // r4\n  int v3; // r3\n  int v4; // r3\n  char v5; // r2\n\n  v2 = (DeathStatsPopup *)this;\n  v3 = *(_DWORD *)(this + 712);\n  if ( v3 )\n  {\n    v4 = *(_DWORD *)(v3 + 1408);\n    if ( v4 )\n    {\n      v5 = *(_BYTE *)(v4 + 1316);\n      *(_DWORD *)(v4 + 1308) = 0;\n      *(_DWORD *)(v4 + 1312) = 0;\n      if ( (v5 & 1) != 0 )\n      {\n        **(_BYTE **)(v4 + 1324) = 0;\n        *(_DWORD *)(v4 + 1320) = 0;\n      }\n      else\n      {\n        *(_BYTE *)(v4 + 1317) = 0;\n        *(_BYTE *)(v4 + 1316) = 0;\n      }\n      LevelEditorLayer::rebuildDeathOverlay(*(LevelEditorLayer **)(this + 712));\n      return DeathStatsPopup::setStatus(v2, \"Fetched death data cleared.\");\n    }\n  }\n  return this;\n}", "assembly": "; \n; DeathStatsPopup::onClearFetched from 0x76f148 to 0x76f19a (82 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, 0x76f148\nMOV             R4, R0                                                 ; +0x2, 0x76f14a\nLDR.W           R3, [R0,#0x2C8]                                        ; +0x4, 0x76f14c\nCBZ             R3, locret_76F198                                      ; +0x8, 0x76f150\nLDR.W           R3, [R3,#0x580]                                        ; +0xa, 0x76f152\nCBNZ            R3, loc_76F15A                                         ; +0xe, 0x76f156\nPOP             {R4,PC}                                                ; +0x10, 0x76f158\nLDRB.W          R2, [R3,#0x524]                                        ; +0x12, 0x76f15a\nMOVS            R1, #0                                                 ; +0x16, 0x76f15e\nSTR.W           R1, [R3,#0x51C]                                        ; +0x18, 0x76f160\nANDS.W          R2, R2, #1                                             ; +0x1c, 0x76f164\nSTR.W           R1, [R3,#0x520]                                        ; +0x20, 0x76f168\nBEQ             loc_76F17A                                             ; +0x24, 0x76f16c\nLDR.W           R2, [R3,#0x52C]                                        ; +0x26, 0x76f16e\nSTRB            R1, [R2]                                               ; +0x2a, 0x76f172\nSTR.W           R1, [R3,#0x528]                                        ; +0x2c, 0x76f174\nB               loc_76F182                                             ; +0x30, 0x76f178\nSTRB.W          R2, [R3,#0x525]                                        ; +0x32, 0x76f17a\nSTRB.W          R2, [R3,#0x524]                                        ; +0x36, 0x76f17e\nLDR.W           R0, [R4,#0x2C8]; this                                  ; +0x3a, 0x76f182\nBL              _ZN16LevelEditorLayer19rebuildDeathOverlayEv; LevelEditorLayer::rebuildDeathOverlay(void) ; +0x3e, 0x76f186\nLDR             R1, =(aFetchedDeathDa - 0x76F192); \"Fetched death data cleared.\" ; +0x42, 0x76f18a\nMOV             R0, R4; this                                           ; +0x44, 0x76f18c\nADD             R1, PC; \"Fetched death data cleared.\"                  ; +0x46, 0x76f18e\nPOP.W           {R4,LR}                                                ; +0x48, 0x76f190\nB.W             _ZN15DeathStatsPopup9setStatusEPKc; DeathStatsPopup::setStatus(char const*) ; +0x4c, 0x76f194\nPOP             {R4,PC}                                                ; +0x50, 0x76f198", "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"}