//
// LevelInfoLayer::levelUpdateFinished from 0x49a708 to 0x49a750 (72 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::levelUpdateFinished @ 0x49a754
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:45 +0000
//
int __fastcall LevelInfoLayer::levelUpdateFinished(int a1, int a2, int a3)
{
int v4; // r0
int result; // r0
v4 = *(_DWORD *)(a1 + 364);
if ( !v4
|| (result = *(_DWORD *)(v4 + 268) - *(_DWORD *)(v4 + 272), result == *(_DWORD *)(a2 + 268) - *(_DWORD *)(a2 + 272)) )
{
if ( !*(_BYTE *)(a1 + 436) )
LevelInfoLayer::showUpdateAlert(a1, a3);
result = (*(int (__fastcall **)(int, int))(*(_DWORD *)a1 + 588))(a1, a2);
*(_BYTE *)(a1 + 436) = 0;
}
return result;
}