// // sub_4DCC60 from 0x4dcc60 to 0x4dcca0 (64 bytes) // // 13 xrefs: // > LevelLeaderboard::onDeleteLocalScores @ 0x931634 // > LevelLeaderboard::getSpriteButton @ 0x9317f4 // > LevelLeaderboard::deleteLocalScores @ 0x9319e8 // > LevelLeaderboard::deleteLocalScores @ 0x931a04 // > LevelLeaderboard::isCorrect @ 0x931de0 // > LevelLeaderboard::loadLeaderboardFailed @ 0x931fc8 // > LevelLeaderboard::loadScores @ 0x932550 // > LevelLeaderboard::init @ 0x9335b8 // > LevelLeaderboard::init @ 0x9335e0 // > LevelLeaderboard::init @ 0x933614 // > LevelLeaderboard::init @ 0x933638 // > LevelLeaderboard::init @ 0x933698 // > LevelLeaderboard::init @ 0x9336bc // // 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 sub_4DCC60(void *p) { unsigned int *v1; // x3 int v2; // w2 if ( &pthread_create ) { v1 = (unsigned int *)((char *)p + 16); do v2 = __ldaxr(v1); while ( __stlxr(v2 - 1, v1) ); } else { v2 = *((_DWORD *)p + 4); *((_DWORD *)p + 4) = v2 - 1; } if ( v2 <= 0 ) operator delete(p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source