// // LevelInfoLayer::showUpdateAlert from 0x6d8500 to 0x6d864c (332 bytes) // // 3 xrefs: // > LevelInfoLayer::levelUpdateFinished @ 0x6d86cc // > LevelInfoLayer::onUpdate @ 0x6d8774 // > @ 0x36960 // // 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; // x1 FLAlertLayer *v3; // x20 void *v4; // x0 unsigned int *v5; // x2 int v6; // w1 __int64 v7; // [xsp+30h] [xbp+30h] 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_D153B8((int)&v7, v2); v3 = FLAlertLayer::create(0, (__int64)"Update", (__int64)&v7); v4 = (void *)(v7 - 24); if ( (__int64 *)(v7 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v7 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *(_DWORD *)(v7 - 8); *(_DWORD *)(v7 - 8) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); } v3->show(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source