// // GameLevelManager::getLeaderboardKey from 0x80291c to 0x8029e4 (200 bytes) // // 20 xrefs: // > GameLevelManager::onBanUserCompleted @ 0x802a7c // > GameLevelManager::onBanUserCompleted @ 0x802aac // > GameLevelManager::onBanUserCompleted @ 0x802adc // > GameLevelManager::onBanUserCompleted @ 0x802b0c // > GameLevelManager::getLeaderboardScores @ 0x8213fc // > LeaderboardsLayer::selectLeaderboard @ 0x94e6bc // > LeaderboardsLayer::isCorrect @ 0x94e8d8 // > LeaderboardsLayer::init @ 0x94f968 // > LeaderboardsLayer::init @ 0x94f9a0 // > LeaderboardsLayer::init @ 0x94f9d8 // > LeaderboardsLayer::init @ 0x94fa10 // > LeaderboardsLayer::init @ 0x94fa48 // > LeaderboardsLayer::init @ 0x94fa80 // > LeaderboardsLayer::init @ 0x94fab8 // > LeaderboardsLayer::init @ 0x94faf0 // > LeaderboardsLayer::init @ 0x94fb28 // > LeaderboardsLayer::init @ 0x94fb60 // > LeaderboardsLayer::init @ 0x94fb98 // > LeaderboardsLayer::init @ 0x94fbd0 // > @ 0xda620 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:44 +0000 // __int64 *__usercall GameLevelManager::getLeaderboardKey@(const char *a1@, __int64 *a2@) { cocos2d::CCString *v3; // x0 const char *CString; // x0 const char *v5; // x22 size_t v6; // x0 size_t v7; // x20 unsigned __int64 v8; // x0 __int64 v9; // x21 __int64 v10; // x0 _BYTE *v11; // x3 _BYTE *v12; // x3 v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"lb_%i_%i", a1); CString = (const char *)cocos2d::CCString::getCString(v3); *a2 = 0; a2[1] = 0; v5 = CString; a2[2] = 0; v6 = strlen(CString); v7 = v6; if ( v6 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v6 > 0x16 ) { v8 = (v6 + 16) & 0xFFFFFFFFFFFFFFF0LL; v9 = v8 | 1; v10 = operator new(v8); *a2 = v9; v11 = (_BYTE *)v10; a2[2] = v10; a2[1] = v7; LABEL_4: v12 = memcpy(v11, v5, v7); v12[v7] = 0; return a2; } *(_BYTE *)a2 = 2 * v6; v11 = (char *)a2 + 1; if ( v6 ) goto LABEL_4; *v11 = 0; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source