//
// GameStatsManager::getChallengeKey from 0x7a4194 to 0x7a4200 (108 bytes)
//
// 3 xrefs:
// > GameStatsManager::hasCompletedChallenge @ 0x7a422c
// > GameStatsManager::completedChallenge @ 0x7bb55c
// > ??> @ 0xa7c10
//
// 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
//
__int64 __usercall GameStatsManager::getChallengeKey@(
GameStatsManager *this@,
GJChallengeItem *a2@,
__int64 a3@)
{
cocos2d::CCString *v4; // x0
char *CString; // x0
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"c%i%i",
(const char *)(unsigned int)a2->m_position,
(unsigned int)a2->m_timeLeft);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_D153B8(a3, CString);
return a3;
}