//
// LevelInfoLayer::levelUpdateFinished from 0x1002b0770 to 0x1002b07d0 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0e2f8
//
// 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:28:01 +0000
//
__int64 __fastcall LevelInfoLayer::levelUpdateFinished(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v3; // rax
int v4; // ecx
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 504);
if ( !v3
|| (v4 = *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332),
result = (unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)),
v4 == (_DWORD)result) )
{
if ( !*(_BYTE *)(a1 + 644) )
LevelInfoLayer::showUpdateAlert(a1, a3);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1176LL))(a1);
*(_BYTE *)(a1 + 644) = 0;
}
return result;
}