// // GameLevelManager::onRestoreItemsCompleted from 0x4b1088 to 0x4b117e (246 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4da97a // // 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:50:02 +0000 // int __fastcall GameLevelManager::onRestoreItemsCompleted(GameLevelManager *a1, unsigned __int8 *a2) { _BOOL4 v3; // r6 int *v4; // r5 int *v6; // r5 int v7; // [sp+8h] [bp-10h] BYREF int v8; // [sp+Ch] [bp-Ch] int v9; // [sp+10h] [bp-8h] GameLevelManager::removeDLFromActive(a1, "restoreKey"); v7 = 0; v8 = 0; v9 = 0; std::string::__init(&v7, "-1", 2u); v3 = sub_4A9CC4(a2, (unsigned __int8 *)&v7); std::string::~string((int)&v7); v7 = 0; v8 = 0; v9 = 0; if ( v3 ) { std::string::__init(&v7, "No restore data found.", 0x16u); v4 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Error", (int)&v7, (ButtonSprite *)"OK", nullptr, 300.0); std::string::~string((int)&v7); return (*(int (__fastcall **)(int *))(*v4 + 656))(v4); } else { std::string::__init(&v7, "Your data has been restored.", 0x1Cu); v6 = FLAlertLayer::create( 0, (cocos2d::CCLabelBMFont *)"Data restored", (int)&v7, (ButtonSprite *)"OK", nullptr, 300.0); std::string::~string((int)&v7); (*(void (__fastcall **)(int *))(*v6 + 656))(v6); std::string::basic_string(&v7, (int)a2); GameLevelManager::parseRestoreData(); return std::string::~string((int)&v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source