//
// LevelInfoLayer::levelUpdateFinished from 0x10002d8c8 to 0x10002d938 (112 bytes)
//
// 2 xrefs:
// > sub_10002D9E0 @ 0x10002d9e4
// > ??> @ 0x1008b0980
//
// 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 10:57:29 +0000
//
__int64 __fastcall LevelInfoLayer::levelUpdateFinished(__int64 result, __int64 a2, __int64 a3)
{
_BYTE *v4; // x19
__int64 v5; // x8
v4 = (_BYTE *)result;
v5 = *(_QWORD *)(result + 504);
if ( !v5 || *(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332) == *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332) )
{
if ( (*(_BYTE *)(result + 644) & 1) == 0 )
LevelInfoLayer::showUpdateAlert(result, a3);
result = (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v4 + 1176LL))(v4, a2);
v4[644] = 0;
}
return result;
}