// // GJRateLevelLayer::FLAlert_Clicked from 0x1005069e0 to 0x100506aa9 (201 bytes) // // 2 xrefs: // > sub_100506AD0 @ 0x100506adc // > @ 0x10095a268 // // 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::FLAlert_Clicked(GJRateLevelLayer *a1, FLAlertLayer *a2, bool a3) { GameLevelManager *v3; // rax UploadActionPopup *m_uploadPopup; // rax UploadActionPopup *v5; // rax __int128 v6[2]; // [rsp+0h] [rbp-20h] BYREF if ( a3 && ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == -3 ) { v3 = GameLevelManager::sharedState(); if ( GameLevelManager::unrateLevelAdmin(v3, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed) ) { GameLevelManager::sharedState()->m_uploadActionDelegate = &a1->UploadActionDelegate; m_uploadPopup = a1->m_uploadPopup; if ( m_uploadPopup ) m_uploadPopup->m_delegate = nullptr; strcpy((char *)v6, "\"Unrating level..."); 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