// // AppDelegate::applicationDidFinishLaunching from 0x10065c0c0 to 0x10065c204 (324 bytes) // // 1 xrefs: // > @ 0x100986b28 // // 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 __fastcall AppDelegate::applicationDidFinishLaunching(AppDelegate *a1) { cocos2d::CCDirector *v1; // r14 cocos2d::CCFileUtils *v2; // r15 ObjectDecoder *v3; // r15 GJObjectDecoder *v4; // rax ObjectDecoderDelegate *v5; // rcx GameManager *v6; // rax GameManager *v7; // rax cocos2d::CCScene *v8; // rax timeval v10; // [rsp+0h] [rbp-40h] BYREF std::string __str; // [rsp+10h] [rbp-30h] BYREF a1->m_gamePaused = 0; gettimeofday(&v10, nullptr); srand(LODWORD(v10.tv_sec) * v10.tv_usec); v1 = cocos2d::CCDirector::sharedDirector(); v2 = cocos2d::CCFileUtils::sharedFileUtils(); __str.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x28u); __str.__r_.__value_.__r.__words[0] = 41; __str.__r_.__value_.__l.__size_ = 36; strcpy(__str.__r_.__value_.__l.__data_, "/data/data/com.robtopx.geometryjump/"); std::string::operator=((std::string *)&v2[14], &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); AppDelegate::setupGLView(a1); cocos2d::CCDirector::setProjection(v1, kCCDirectorProjection2D); CCContentManager::sharedManager(); v3 = ObjectDecoder::sharedDecoder(); v4 = GJObjectDecoder::sharedDecoder(); v5 = &v4->ObjectDecoderDelegate; if ( !v4 ) v5 = nullptr; v3->m_delegate = v5; GameManager::sharedState(); LocalLevelManager::sharedState(); v6 = GameManager::sharedState(); GameManager::loadVideoSettings(v6); v7 = GameManager::sharedState(); GameManager::startUpdate(v7); a1->m_unk0ec = 0; cocos2d::CCDirector::setDepthTest(v1, 0); ((void (__fastcall *)(cocos2d::CCDirector *, double))v1->setAnimationInterval)(v1, 0.01666666753590107); v1->m_bDisplayStats = 1; a1->m_ios = 0; AdToolbox::setupAds(); v8 = LoadingLayer::scene(0); cocos2d::CCDirector::runWithScene(v1, v8); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source