// // GJRateLevelLayer::onRate from 0x100506710 to 0x1005067df (207 bytes) // // 1 xrefs: // > GJRateLevelLayer::init @ 0x10050630c // // 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 __fastcall GJRateLevelLayer::onRate(GJRateLevelLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v2; // rax char v3; // al UploadActionPopup *m_uploadPopup; // rax UploadActionPopup *v5; // rax __int128 v6[2]; // [rsp+0h] [rbp-20h] BYREF if ( a1->m_stars != -1 ) { v2 = GameLevelManager::sharedState(); GameLevelManager::suggestLevelStars( v2, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed, a1->m_stars, a1->m_difficultySprite->m_featureState); if ( v3 ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; m_uploadPopup = a1->m_uploadPopup; if ( m_uploadPopup ) m_uploadPopup->m_delegate = nullptr; strcpy((char *)v6, "\"Sending rating..."); v5 = (UploadActionPopup *)UploadActionPopup::create((__int64)&a1->UploadPopupDelegate, v6); a1->m_uploadPopup = v5; if ( (v6[0] & 1) != 0 ) { operator delete(*(void **)&v6[1]); v5 = a1->m_uploadPopup; } ((void (__fastcall *)(UploadActionPopup *))v5->show)(v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source