//
// LevelInfoLayer::levelUpdateFinished from 0x10002a190 to 0x10002a200 (112 bytes)
//
// 2 xrefs:
// > sub_10002A2A8 @ 0x10002a2ac
// > ??> @ 0x100764a00
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall LevelInfoLayer::levelUpdateFinished(LevelInfoLayer *a1, GJGameLevel *a2, UpdateResponse a3)
{
GJGameLevel *m_level; // x8
m_level = a1->m_level;
if ( !m_level || m_level->m_levelID.random - m_level->m_levelID.seed == a2->m_levelID.random - a2->m_levelID.seed )
{
if ( !a1->m_noUpdateAlert )
LevelInfoLayer::showUpdateAlert(a1, a3);
((void (__fastcall *)(LevelInfoLayer *, GJGameLevel *, _QWORD))a1->levelDownloadFinished)(a1, a2, *(_QWORD *)&a3);
a1->m_noUpdateAlert = 0;
}
}