// // MenuLayer::FLAlert_Clicked from 0x10030572c to 0x1003058bc (400 bytes) // // 2 xrefs: // > sub_1003058EC @ 0x1003058f0 // > @ 0x10092a898 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:03:07 +0000 // void __fastcall MenuLayer::FLAlert_Clicked(__int64 a1, __int64 a2, int a3) { __int64 v4; // x0 __int64 v5; // x1 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 float *v11; // x20 char v12; // w0 __int64 v13; // x1 __int64 v14; // x2 __int64 v15; // x3 __int64 v16; // x4 __int64 v17; // x5 __int64 v18; // x6 __int64 v19; // x7 __int64 v20; // x20 __int64 v21; // x0 __int64 v22; // x0 __int64 v23; // x0 char *CString; // x0 _QWORD *v25; // x0 __int64 v26; // x1 __int64 v27; // x0 void **v28; // x1 void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v30; // [xsp+2Fh] [xbp-11h] if ( a3 ) { v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (int)v4 > 1 ) { if ( (_DWORD)v4 == 2 ) { v23 = sub_1003065B0("https://www.robtopgames.com/download/gj%i", 1); CString = (char *)cocos2d::CCString::getCString(v23); v25 = sub_100009900(__p, CString); v27 = cocos2d::CCApplication::sharedApplication((__int64)v25, v26); if ( v30 >= 0 ) v28 = __p; else v28 = (void **)__p[0]; (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v27 + 104LL))(v27, v28); if ( v30 < 0 ) operator delete(__p[0]); } else if ( (_DWORD)v4 == 3 ) { v7 = cocos2d::CCApplication::sharedApplication(v4, v5); (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 104LL))(v7, "https://www.newgrounds.com/audio"); } } else if ( (_DWORD)v4 ) { if ( (_DWORD)v4 == 1 ) { v6 = GameManager::sharedState(v4); GameManager::setGameVariable(v6, "0034", 1); nullsub_77(); if ( (unsigned int)sub_1001F9264() ) sub_1003053C8(a1); } } else { v8 = AppDelegate::get(v4); v9 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 64LL))(v8, 1); v10 = AppDelegate::get(v9); nullsub_151(v10, 0, 1, 1); v11 = cocos2d::CCDelayTime::create(0.5); v12 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)sub_1003058D8, 0); v20 = sub_10021D420((__int64)v11, v13, v14, v15, v16, v17, v18, v19, v12); v21 = cocos2d::CCDirector::sharedDirector(); v22 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v21 + 144LL))(v21); cocos2d::CCActionManager::addAction(v22, v20, a1, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source