// // GameStatsManager::getStarLevelKey from 0x516260 to 0x5162a0 (64 bytes) // // 4 xrefs: // > GameStatsManager::hasCompletedStarLevel @ 0x517044 // > GameStatsManager::markLevelAsCompletedAndClaimed @ 0x523ebe // > GameStatsManager::uncompleteLevel @ 0x523f8e // > GameStatsManager::completedStarLevel @ 0x529f1a // // 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:51:40 +0000 // int __fastcall GameStatsManager::getStarLevelKey(GameStatsManager *this, GJGameLevel *a2) { int v3; // r1 int v5; // r2 int v6; // r1 int v7; // r3 char *v8; // r0 cocos2d::CCString *v9; // r0 v3 = *((_DWORD *)a2 + 186) - *((_DWORD *)a2 + 187); if ( v3 > 0 ) return GameStatsManager::getDailyStarKey(this, v3); v5 = *((unsigned __int8 *)a2 + 477); v6 = *((_DWORD *)a2 + 67); v7 = *((_DWORD *)a2 + 68); if ( v5 ) v8 = "gstar_%i"; else v8 = "star_%i"; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)v8, (const char *)(v6 - v7)); return cocos2d::CCString::getCString(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source