//
// GameLevelManager::removePlatformerSaveJournalEntry from 0x83c66c to 0x83c710 (164 bytes)
//
// 2 xrefs:
// > GJGameLevel::clearPlatformerSave @ 0x83c760
// > ??> @ 0xe9170
//
// 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 12:55:14 +0000
//
__int64 __fastcall GameLevelManager::removePlatformerSaveJournalEntry(GameLevelManager *this, GJGameLevel *a2)
{
void *v3[3]; // [xsp+30h] [xbp+30h] BYREF
if ( a2 )
{
if ( (unsigned int)(*((_DWORD *)a2 + 285) - 2) <= 1 )
{
sub_83C2D4((__int64)a2, v3);
sub_833644(3, (__int64)v3);
if ( ((__int64)v3[0] & 1) != 0 )
operator delete(v3[2]);
}
}
return _stack_chk_guard;
}