// // AppDelegate::applicationDidFinishLaunching from 0x307938 to 0x307a44 (268 bytes) // // 0 xrefs: // // 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 // bool AppDelegate::applicationDidFinishLaunching(AppDelegate *a1) { cocos2d::CCDirector *v2; // r4 cocos2d::CCFileUtils *v3; // r8 ObjectDecoder *v4; // r6 GJObjectDecoder *v5; // r0 GameManager *v6; // r0 GameManager *v7; // r0 float DeviceRefreshRate; // r0 cocos2d::CCScene *v9; // r0 _BYTE v11[4]; // [sp+8h] [bp-10h] BYREF struct timeval tv; // [sp+Ch] [bp-Ch] BYREF BYTE1(a1->m_startupScriptFilename.m_data.m_data) = 0; gettimeofday(&tv, nullptr); srand(tv.tv_sec * tv.tv_usec); *(_QWORD *)&dword_AC59D0 = tv.tv_sec * tv.tv_usec; v2 = cocos2d::CCDirector::sharedDirector(); v3 = cocos2d::CCFileUtils::sharedFileUtils(); sub_776584((int)v11, "/data/data/com.robtopx.geometryjump/"); sub_775D40(&v3[15], v11); sub_774008(v11); AppDelegate::setupGLView(a1); cocos2d::CCDirector::setProjection(v2, kCCDirectorProjection2D); CCContentManager::sharedManager(); v4 = ObjectDecoder::sharedDecoder(); v5 = GJObjectDecoder::sharedDecoder(); if ( v5 ) v5 = (GJObjectDecoder *)((char *)v5 + 264); v4->m_delegate = (ObjectDecoderDelegate *)v5; GameManager::sharedState(); LocalLevelManager::sharedState(); v6 = GameManager::sharedState(); GameManager::loadVideoSettings(v6); v7 = GameManager::sharedState(); GameManager::startUpdate(v7); cocos2d::CCDirector::getContentScaleFactor(v2); LOBYTE(a1->m_runningScene) = 0; cocos2d::CCDirector::setDepthTest(v2, 0); DeviceRefreshRate = PlatformToolbox::getDeviceRefreshRate(); ((void (__fastcall *)(cocos2d::CCDirector *, void (__fastcall *)(cocos2d::CCDirector *__hidden, double), _DWORD, _DWORD))v2->setAnimationInterval)( v2, v2->setAnimationInterval, COERCE_UNSIGNED_INT64((float)(1.0 / DeviceRefreshRate)), HIDWORD(COERCE_UNSIGNED_INT64((float)(1.0 / DeviceRefreshRate)))); v2->m_bDisplayStats = 1; *(&a1->m_gamePaused + 1) = 0; AdToolbox::setupAds(); v9 = LoadingLayer::scene(0); cocos2d::CCDirector::runWithScene(v2, v9); return 1; }