//
// GameLevelManager::removePlatformerSaveJournalEntry from 0x4caba8 to 0x4cabf6 (78 bytes)
//
// 1 xrefs:
// > GJGameLevel::clearPlatformerSave @ 0x4cac2c
//
// 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 GameLevelManager::removePlatformerSaveJournalEntry(GameLevelManager *this, GJGameLevel *a2)
{
int result; // r0
_DWORD v3[3]; // [sp+0h] [bp-14h] BYREF
if ( a2 )
{
if ( (unsigned int)(*((_DWORD *)a2 + 238) - 2) <= 1 )
{
sub_4CA99C(v3, (int)a2);
sub_4C60B4(3, (unsigned __int8 *)v3);
return std::string::~string((int)v3);
}
}
return result;
}