// // GameLevelManager::onRestoreItemsCompleted from 0x10008c878 to 0x10008c9d4 (348 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x100089124 // // 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 GameLevelManager::onRestoreItemsCompleted(GameLevelManager *a1, __int64 a2) { _BOOL4 v3; // w0 _BOOL4 v4; // w20 __int64 v5; // x19 __int64 v6; // x20 void *v7[2]; // [xsp+0h] [xbp-70h] BYREF __int64 v8; // [xsp+10h] [xbp-60h] void *v9[2]; // [xsp+18h] [xbp-58h] BYREF char v10; // [xsp+2Fh] [xbp-41h] void *__p[2]; // [xsp+30h] [xbp-40h] BYREF char v12; // [xsp+47h] [xbp-29h] void *v13[2]; // [xsp+48h] [xbp-28h] BYREF char v14; // [xsp+5Fh] [xbp-11h] GameLevelManager::removeDLFromActive(a1, "restoreKey"); sub_100009900(v13, "-1"); v3 = sub_1000045BC((_QWORD *)a2, v13); v4 = v3; if ( v14 < 0 ) { operator delete(v13[0]); if ( v4 ) goto LABEL_3; } else if ( v3 ) { LABEL_3: sub_100009900(__p, "No restore data found."); v5 = FLAlertLayer::create_1(0, "Error", __p, "OK", 0, 300.0); if ( v12 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1288LL))(v5); return; } sub_100009900(v9, "Your data has been restored."); v6 = FLAlertLayer::create_1(0, "Data restored", v9, "OK", 0, 300.0); if ( v10 < 0 ) operator delete(v9[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1288LL))(v6); if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(v7, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)v7 = *(_OWORD *)a2; v8 = *(_QWORD *)(a2 + 16); } if ( SHIBYTE(v8) < 0 ) operator delete(v7[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source