//
// DeathStatsPopup::onClearFetched from 0x76f148 to 0x76f19a (82 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:59:14 +0000
//
int __fastcall DeathStatsPopup::onClearFetched(int this, cocos2d::CCObject *a2)
{
DeathStatsPopup *v2; // r4
int v3; // r3
int v4; // r3
char v5; // r2
v2 = (DeathStatsPopup *)this;
v3 = *(_DWORD *)(this + 712);
if ( v3 )
{
v4 = *(_DWORD *)(v3 + 1408);
if ( v4 )
{
v5 = *(_BYTE *)(v4 + 1316);
*(_DWORD *)(v4 + 1308) = 0;
*(_DWORD *)(v4 + 1312) = 0;
if ( (v5 & 1) != 0 )
{
**(_BYTE **)(v4 + 1324) = 0;
*(_DWORD *)(v4 + 1320) = 0;
}
else
{
*(_BYTE *)(v4 + 1317) = 0;
*(_BYTE *)(v4 + 1316) = 0;
}
LevelEditorLayer::rebuildDeathOverlay(*(LevelEditorLayer **)(this + 712));
return DeathStatsPopup::setStatus(v2, "Fetched death data cleared.");
}
}
return this;
}