// // LevelInfoLayer::onRateStarsMod from 0x6d5878 to 0x6d590c (148 bytes) // // 3 xrefs: // > @ 0x9ae00 // > LevelInfoLayer::init @ 0x6dbdd4 // > @ 0x122d498 // // 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 LevelInfoLayer::onRateStarsMod(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GJAccountManager *v3; // x0 GJGameLevel *m_level; // x0 int v5; // w19 bool isPlatformer; // w0 void *v7; // x0 if ( !a1->m_isBusy ) { v3 = GJAccountManager::sharedState(); if ( v3->m_accountID - v3->m_unkInt1 == 2795 ) { v7 = GJRateLevelLayer::create(a1->m_level); } else { m_level = a1->m_level; v5 = m_level->m_levelID.random - m_level->m_levelID.seed; isPlatformer = GJGameLevel::isPlatformer(m_level); v7 = RateStarsLayer::create(v5, isPlatformer, 1); } (*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 1288LL))(v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source