// // GameStatsManager::completedDemonLevel from 0x41bbec to 0x41bc76 (138 bytes) // // 4 xrefs: // > GameManager::dataLoaded @ 0x328de8 // > LevelInfoLayer::init @ 0x3b54c4 // > GameLevelManager::updateLevelRewards @ 0x3c6404 // > GameStatsManager::completedLevel @ 0x41be9a // // 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::completedDemonLevel(GameStatsManager *a1, GJGameLevel *a2) { char *DemonLevelKey; // r0 cocos2d::CCDictionary *m_completedLevels; // r9 cocos2d::CCString *m_trueString; // r8 _BYTE v7[4]; // [sp+8h] [bp-Ch] BYREF if ( !GameStatsManager::hasCompletedDemonLevel(a1, a2) && a2->m_demon.random - a2->m_demon.seed == 1 ) { DemonLevelKey = (char *)GameStatsManager::getDemonLevelKey(a1, a2); m_completedLevels = a1->m_completedLevels; m_trueString = a1->m_trueString; sub_776584((int)v7, DemonLevelKey); cocos2d::CCDictionary::setObject((int)m_completedLevels, m_trueString); sub_774008(v7); if ( a2->m_stars.random - a2->m_stars.seed > 9 ) GameStatsManager::incrementStat(a1, (const char *)&aO1i2r3e45s7t89[8]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source