// // MenuLayer::FLAlert_Clicked from 0x30a33c to 0x30a43e (258 bytes) // // 1 xrefs: // > `non-virtual thunk to'MenuLayer::FLAlert_Clicked @ 0x30a458 // // 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 MenuLayer::FLAlert_Clicked(MenuLayer *a1, FLAlertLayer *a2, bool a3) { AppDelegate *v4; // r0 AppDelegate *v5; // r0 cocos2d::CCSequence *v6; // r7 cocos2d::CCFiniteTimeAction *v7; // r0 cocos2d::CCAction *v8; // r7 cocos2d::CCDirector *v9; // r0 cocos2d::CCActionManager *v10; // r0 GameManager *v11; // r0 cocos2d::CCString *v12; // r0 char *CString; // r0 cocos2d::CCApplication *v14; // r0 cocos2d::CCApplication *v15; // r0 _DWORD v16[2]; // [sp+4h] [bp-10h] BYREF if ( a3 ) { switch ( a2->getTag(a2) ) { case 0: v4 = AppDelegate::get(); v4->trySaveGame(v4, 1); v5 = AppDelegate::get(); AppDelegate::showLoadingCircle(v5, 0, 1, 1); v16[1] = 0; v16[0] = MenuLayer::endGame; v6 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5); v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, MenuLayer::endGame, 0); v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v6, v7, 0); v9 = cocos2d::CCDirector::sharedDirector(); v10 = v9->getActionManager(v9); cocos2d::CCActionManager::addAction(v10, v8, a1, 0); break; case 1: v11 = GameManager::sharedState(); GameManager::setGameVariable(v11, "0034", 1); PlatformToolbox::activateGameCenter(); if ( PlatformToolbox::isLocalPlayerAuthenticated() ) MenuLayer::onGameCenter(a1, nullptr); break; case 2: v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"https://www.robtopgames.com/download/gj%i", nullptr); CString = (char *)cocos2d::CCString::getCString(v12); sub_776584((int)v16, CString); v14 = cocos2d::CCApplication::sharedApplication(); v14->openURL(v14, (const unsigned __int8 *)v16[0]); sub_774008(v16); break; case 3: v15 = cocos2d::CCApplication::sharedApplication(); v15->openURL(v15, "https://www.newgrounds.com/audio"); break; default: return; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source