//
// LevelInfoLayer::showUpdateAlert from 0x3b2090 to 0x3b210a (122 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::levelUpdateFinished @ 0x3b2156
// > LevelInfoLayer::onUpdate @ 0x3b21b2
//
// 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 LevelInfoLayer::showUpdateAlert(LevelInfoLayer *a1, UpdateResponse a2)
{
char *v2; // r1
FLAlertLayer *v3; // r6
_BYTE v4[4]; // [sp+10h] [bp-8h] BYREF
switch ( a2 )
{
case GameVerOutOfDate:
v2 = "Update your application to update this level.";
break;
case UpdateSuccess:
v2 = "Level has been updated to the latest version.";
break;
case UpToDate:
v2 = "Level is up to date.";
break;
default:
return;
}
sub_776584((int)v4, v2);
v3 = FLAlertLayer::create(0, (int)"Update", (int)v4, (int)"OK", 0, 300.0);
sub_774008(v4);
v3->show(v3);
}