//
// GameLevelManager::getLeaderboardKey from 0x4acd78 to 0x4acda8 (48 bytes)
//
// 19 xrefs:
// > GameLevelManager::onBanUserCompleted @ 0x4b04d4
// > GameLevelManager::onBanUserCompleted @ 0x4b04fa
// > GameLevelManager::onBanUserCompleted @ 0x4b0520
// > GameLevelManager::onBanUserCompleted @ 0x4b0546
// > GameLevelManager::getLeaderboardScores @ 0x4b6f1a
// > LeaderboardsLayer::selectLeaderboard @ 0x563404
// > LeaderboardsLayer::isCorrect @ 0x56355e
// > LeaderboardsLayer::init @ 0x563bba
// > LeaderboardsLayer::init @ 0x563bea
// > LeaderboardsLayer::init @ 0x563c1a
// > LeaderboardsLayer::init @ 0x563c4a
// > LeaderboardsLayer::init @ 0x563c7a
// > LeaderboardsLayer::init @ 0x563caa
// > LeaderboardsLayer::init @ 0x563cda
// > LeaderboardsLayer::init @ 0x563d0a
// > LeaderboardsLayer::init @ 0x563d3a
// > LeaderboardsLayer::init @ 0x563d6a
// > LeaderboardsLayer::init @ 0x563d9a
// > LeaderboardsLayer::init @ 0x563dca
//
// 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:49:59 +0000
//
int *__fastcall GameLevelManager::getLeaderboardKey(int *a1, int a2, const char *a3, int a4)
{
cocos2d::CCString *v5; // r0
const char *CString; // r0
const char *v7; // r5
size_t v8; // r0
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"lb_%i_%i", a3, a4);
CString = (const char *)cocos2d::CCString::getCString(v5);
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v7 = CString;
v8 = strlen(CString);
std::string::__init(a1, v7, v8);
return a1;
}