//
// LevelInfoLayer::showUpdateAlert from 0x10002a200 to 0x10002a28c (140 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::onUpdate @ 0x1000283a0
// > LevelInfoLayer::levelUpdateFinished @ 0x10002a1d8
//
// 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
//
void __fastcall LevelInfoLayer::showUpdateAlert(LevelInfoLayer *a1, UpdateResponse a2)
{
__int64 v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
if ( (unsigned int)(a2 - 1) <= 2 )
{
sub_100009900(__p, off_100764D80[a2 - 1]);
v2 = FLAlertLayer::create_1(0, "Update", __p, "OK", 0, 300.0);
if ( v4 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);
}
}