//
// GameManager::saveFinished from 0x1003763f0 to 0x10037645d (109 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b270c8
//
// This function is hookable on this platform (idp: pc, 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:29:04 +0000
//
void __fastcall GameManager::saveFinished(__int64 a1, int a2, double a3)
{
__int64 v3; // rax
__int64 v4; // r14
__int64 i; // r15
if ( a2 )
{
v3 = GameLevelManager::sharedState(a3);
sub_10054DBF0(v3, a1 + 352);
}
v4 = *(_QWORD *)(a1 + 352);
for ( i = *(_QWORD *)(a1 + 360); i != v4; i -= 32 )
{
if ( (*(_BYTE *)(i - 32) & 1) != 0 )
operator delete(*(void **)(i - 16));
}
*(_QWORD *)(a1 + 360) = v4;
}