// // LevelInfoLayer::showUpdateAlert from 0x49a660 to 0x49a6ea (138 bytes) // // 2 xrefs: // > LevelInfoLayer::levelUpdateFinished @ 0x49a736 // > LevelInfoLayer::onUpdate @ 0x49b310 // // 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 // void __fastcall LevelInfoLayer::showUpdateAlert(int a1, int a2) { const char *v2; // r6 size_t v3; // r0 int *v4; // r4 int v5[3]; // [sp+8h] [bp-14h] BYREF switch ( a2 ) { case 2: v2 = "Update your application to update this level."; break; case 3: v2 = "Level has been updated to the latest version."; break; case 1: v2 = "Level is up to date."; break; default: return; } memset(v5, 0, sizeof(v5)); v3 = strlen(v2); std::string::__init(v5, v2, v3); v4 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Update", (int)v5, (ButtonSprite *)"OK", nullptr, 300.0); std::string::~string((int)v5); (*(void (__fastcall **)(int *))(*v4 + 656))(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source