//
// LocalLevelManager::markLevelsAsUnmodified from 0x1006caa90 to 0x1006caadf (79 bytes)
//
// 1 xrefs:
// > GJAccountManager::onBackupAccountCompleted @ 0x10009ec66
//
// 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:35:35 +0000
//
__int64 __fastcall LocalLevelManager::markLevelsAsUnmodified(__int64 a1)
{
__int64 result; // rax
unsigned int v2; // r14d
result = sub_1007FEF90(*(_QWORD *)(a1 + 360));
if ( (_DWORD)result )
{
v2 = 0;
do
{
*(_BYTE *)(sub_1007FEFE0(*(_QWORD *)(a1 + 360), v2++) + 786) = 0;
result = sub_1007FEF90(*(_QWORD *)(a1 + 360));
}
while ( v2 < (unsigned int)result );
}
return result;
}