//
// DeathStatsPopup::onClearLocal from 0xca7550 to 0xca75ac (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x531b8
// > DeathStatsPopup::init @ 0xca7ff0
// > ??> @ 0x1541d00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:06:03 +0000
//
__int64 __fastcall DeathStatsPopup::onClearLocal(DeathStatsPopup *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
result = *((_QWORD *)this + 127);
if ( result )
{
result = *(_QWORD *)(result + 1936);
if ( result )
{
GJGameLevel::clearDeathTrackerData(result);
GJGameLevel::clearDeathMarkerData(*(_QWORD *)(*((_QWORD *)this + 127) + 1936LL));
LevelEditorLayer::rebuildDeathOverlay(*((LevelEditorLayer **)this + 127));
return DeathStatsPopup::setStatus(this, "Local death data cleared.");
}
}
return result;
}