//
// GJGameLevel::getCoinKey from 0x1000a3fc4 to 0x1000a4048 (132 bytes)
//
// 20 xrefs:
// > LevelInfoLayer::updateLabelValues @ 0x100029c90
// > GameLevelManager::getLevelLeaderboard @ 0x1000a3748
// > GameLevelManager::getLevelLeaderboard @ 0x1000a3770
// > LevelCell::loadCustomLevelCell @ 0x10010de14
// > GJBaseGameLayer::hasUniqueCoin @ 0x1001e95c4
// > GJBaseGameLayer::processItems @ 0x1001e9d14
// > GJBaseGameLayer::processItems @ 0x1001e9d58
// > EndLevelLayer::customSetup @ 0x1002f6a44
// > EndLevelLayer::customSetup @ 0x1002f6a68
// > EndLevelLayer::customSetup @ 0x1002f6a8c
// > GameManager::verifyCoinUnlocks @ 0x100313f74
// > GameManager::verifyCoinUnlocks @ 0x100313f98
// > GameManager::verifyCoinUnlocks @ 0x100313fbc
// > GameManager::verifyCoinUnlocks @ 0x10031401c
// > GameManager::verifyCoinUnlocks @ 0x100314040
// > GameManager::verifyCoinUnlocks @ 0x100314064
// > GameStatsManager::getCollectedCoinsForLevel @ 0x100330780
// > GameStatsManager::checkCoinsForLevel @ 0x100331e60
// > LevelAreaInnerLayer::init @ 0x100345ba8
// > LevelPage::updateDynamicPage @ 0x100402e00
//
// 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
//
const char *__fastcall GJGameLevel::getCoinKey(GJGameLevel *a1, int a2)
{
cocos2d::CCString *v2; // x0
if ( a1->m_dailyID.random - a1->m_dailyID.seed < 1 )
{
if ( a1->m_gauntletLevel )
v2 = (cocos2d::CCString *)sub_100268F4C("%i_%i_g");
else
v2 = (cocos2d::CCString *)sub_100268F4C("%i_%i");
}
else
{
v2 = (cocos2d::CCString *)sub_100268F4C("%i_%i_%i");
}
return cocos2d::CCString::getCString(v2);
}