//
// GJGameLevel::clearPlatformerSave from 0x4cabfc to 0x4cac30 (52 bytes)
//
// 9 xrefs:
// > PlayLayer::levelComplete @ 0x407fea
// > LevelInfoLayer::onPlay @ 0x49ba9c
// > LevelInfoLayer::FLAlert_Clicked @ 0x49bc4a
// > EditLevelLayer::onTest @ 0x49f826
// > EditLevelLayer::onPlay @ 0x4a0324
// > EditLevelLayer::FLAlert_Clicked @ 0x4a2228
// > sub_4CAC34 @ 0x4cac74
// > GJGameLevel::levelWasAltered @ 0x4cadb8
// > GameLevelOptionsLayer::FLAlert_Clicked @ 0x5d56f0
//
// 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:50:37 +0000
//
int __fastcall GJGameLevel::clearPlatformerSave(GJGameLevel *this)
{
int *v2; // r0
GameLevelManager *v3; // r0
std::string::assign((int *)this + 287, (char *)&unk_B6B226);
v2 = std::string::assign((int *)this + 290, (char *)&unk_B6B226);
*((_DWORD *)this + 293) = 0;
*((_DWORD *)this + 294) = 0;
v3 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v2);
return GameLevelManager::removePlatformerSaveJournalEntry(v3, this);
}