//
// LevelInfoLayer::levelUpdateFinished from 0x140420e40 to 0x140420ea8 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078c660
// > ??> @ 0x1409267f8
//
// 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 11:32:09 +0000
//
__int64 __fastcall LevelInfoLayer::levelUpdateFinished(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v3; // rax
int v6; // r9d
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 88);
if ( !v3
|| (v6 = *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332),
result = (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)),
v6 == (_DWORD)result) )
{
if ( !*(_BYTE *)(a1 + 228) )
LevelInfoLayer::showUpdateAlert(a1, a3);
result = (**(__int64 (__fastcall ***)(__int64, __int64))(a1 - 8))(a1 - 8, a2);
*(_BYTE *)(a1 + 228) = 0;
}
return result;
}