// // GameStatsManager::getStarLevelKey from 0x8ca7a0 to 0x8ca808 (104 bytes) // // 5 xrefs: // > GameStatsManager::hasCompletedStarLevel @ 0x8ca950 // > GameStatsManager::markLevelAsCompletedAndClaimed @ 0x8def78 // > GameStatsManager::uncompleteLevel @ 0x8df104 // > GameStatsManager::completedStarLevel @ 0x8e9a80 // > @ 0x937c0 // // 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:56:36 +0000 // __int64 __fastcall GameStatsManager::getStarLevelKey(GameStatsManager *this, GJGameLevel *a2) { signed int v2; // w2 int v3; // w0 int v4; // w2 int v5; // w1 cocos2d::CCString *v6; // x0 v2 = *((_DWORD *)a2 + 230) - *((_DWORD *)a2 + 231); if ( v2 > 0 ) return GameStatsManager::getDailyStarKey(this, v2); v3 = *((unsigned __int8 *)a2 + 649); v4 = *((_DWORD *)a2 + 82); v5 = *((_DWORD *)a2 + 83); if ( v3 ) v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"gstar_%i", (const char *)(unsigned int)(v4 - v5)); else v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"star_%i", (const char *)(unsigned int)(v4 - v5)); return cocos2d::CCString::getCString(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source