// // GameStatsManager::getStarLevelKey from 0x10006d6c0 to 0x10006d713 (83 bytes) // // 0 xrefs: // // 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 GameStatsManager::getStarLevelKey(GameStatsManager *a1, GJGameLevel *a2) { char *v2; // rdi cocos2d::CCString *v3; // rax char savedregs; // [rsp+0h] [rbp+0h] if ( a2->m_dailyID.random <= a2->m_dailyID.seed ) { if ( a2->m_gauntletLevel ) v2 = "gstar_%i"; else v2 = "star_%i"; } else { v2 = "dstar_%i"; } v3 = (cocos2d::CCString *)sub_1007AB580(v2, savedregs); return cocos2d::CCString::getCString(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source