// // GameStatsManager::verifyPathAchievements from 0x413ea4 to 0x413f50 (172 bytes) // // 2 xrefs: // > GameManager::dataLoaded @ 0x3289cc // > GJAccountManager::onSyncAccountCompleted @ 0x464ba8 // // 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 // void GameStatsManager::verifyPathAchievements(GameStatsManager *a1) { StatKey i; // r5 int v3; // r6 int StatFromKey; // r9 cocos2d::CCString *v5; // r0 char *CString; // r0 GameManager *v7; // r11 _BYTE v8[4]; // [sp+14h] [bp-10h] BYREF const char *v9; // [sp+18h] [bp-Ch] BYREF for ( i = FirePath; i != Gauntlets; ++i ) { v3 = 1; StatFromKey = GameStatsManager::getStatFromKey(a1, i); do { if ( StatFromKey < 100 * v3 ) { v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"geometry.ach.path%02d.%02d", (const char *)(i - 29), v3); CString = (char *)cocos2d::CCString::getCString(v5); sub_776584((int)v8, CString); v7 = GameManager::sharedState(); sub_775C20(&v9); GameManager::resetAchievement(v7, &v9); sub_774008(&v9); sub_774008(v8); } ++v3; } while ( v3 != 11 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source