// // GameManager::getGameVariable from 0x5ec9dc to 0x5ecb9c (448 bytes) // // 270 xrefs: // > FLAlertLayer::init @ 0x57e270 // > FLAlertLayer::init @ 0x57e3b4 // > FMODAudioEngine::setupAudioEngine @ 0x5aadf8 // > FMODAudioEngine::setupAudioEngine @ 0x5aae50 // > AppDelegate::resumeSound @ 0x5be450 // > MenuLayer::onGameCenter @ 0x5c2774 // > MenuLayer::init @ 0x5c3920 // > MenuLayer::init @ 0x5c3dd8 // > LoadingLayer::loadAssets @ 0x5c4914 // > LoadingLayer::loadAssets @ 0x5c4990 // > UILayer::handleKeypress @ 0x5c6f0c // > UILayer::handleKeypress @ 0x5c6fc4 // > UILayer::ccTouchBegan @ 0x5c7774 // > UILayer::ccTouchBegan @ 0x5c778c // > UILayer::refreshDpad @ 0x5c7e2c // > UILayer::init @ 0x5c80c0 // > PlayLayer::showTwoPlayerGuide @ 0x5c88a8 // > PlayLayer::toggleMusicInPractice @ 0x5c9038 // > PlayLayer::toggleHideAttempts @ 0x5c9460 // > PlayLayer::toggleHideAttempts @ 0x5c9478 // > PlayLayer::updateDebugDrawSettings @ 0x5c9e70 // > PlayLayer::updateDebugDrawSettings @ 0x5c9e84 // > PlayLayer::updateDebugDrawSettings @ 0x5c9e98 // > PlayLayer::toggleProgressbar @ 0x5cf278 // > PlayLayer::toggleProgressbar @ 0x5cf394 // > PlayLayer::resetLevelFromStart @ 0x5d06b4 // > PlayLayer::updateAttempts @ 0x5d09e4 // > PlayLayer::updateAttempts @ 0x5d0a3c // > PlayLayer::destroyPlayer @ 0x5d1c98 // > PlayLayer::destroyPlayer @ 0x5d1dd4 // > PlayLayer::destroyPlayer @ 0x5d1fdc // > PlayLayer::resumeAndRestart @ 0x5d2804 // > PlayLayer::resumeAndRestart @ 0x5d281c // > PlayLayer::resume @ 0x5d2944 // > PlayLayer::resume @ 0x5d29e0 // > PlayLayer::toggleInfoLabel @ 0x5dc184 // > PlayLayer::setupHasCompleted @ 0x5dca1c // > PlayLayer::processCheckpoints @ 0x5e4328 // > PlayLayer::init @ 0x5e6084 // > PlayLayer::init @ 0x5e609c // > PlayLayer::init @ 0x5e6110 // > PlayLayer::init @ 0x5e6124 // > PlayLayer::init @ 0x5e6138 // > PlayLayer::init @ 0x5e6610 // > PlayLayer::init @ 0x5e66cc // > PlayLayer::init @ 0x5e66e4 // > GameManager::playMenuMusic @ 0x5efdb8 // > GameManager::fadeInMenuMusic @ 0x5f0078 // > GameManager::toggleGameVariable @ 0x5f0178 // > GameManager::loadVideoSettings @ 0x5f0804 // > GameManager::loadVideoSettings @ 0x5f0818 // > GameManager::loadVideoSettings @ 0x5f082c // > GameManager::updateCustomFPS @ 0x5f135c // > GameManager::dataLoaded @ 0x5faea4 // > GameManager::saveDPadLayout @ 0x5ffbc0 // > PlayerObject::tryPlaceCheckpoint @ 0x62e2d8 // > PlayerObject::init @ 0x63d6cc // > PlayerObject::init @ 0x63d6e0 // > PlayerObject::init @ 0x63d6f4 // > PlayerObject::init @ 0x63e430 // > PlayerObject::init @ 0x63e444 // > PlayerObject::init @ 0x63e458 // > LevelEditorLayer::updateOptions @ 0x65cc58 // > LevelEditorLayer::updateOptions @ 0x65cc84 // > LevelEditorLayer::updateOptions @ 0x65cc98 // > LevelEditorLayer::updateOptions @ 0x65ccac // > LevelEditorLayer::updateOptions @ 0x65ccc0 // > LevelEditorLayer::updateOptions @ 0x65ccd4 // > LevelEditorLayer::updateOptions @ 0x65cce8 // > LevelEditorLayer::updateOptions @ 0x65ccfc // > LevelEditorLayer::updateOptions @ 0x65cd10 // > LevelEditorLayer::updateOptions @ 0x65cd24 // > LevelEditorLayer::updateOptions @ 0x65cd38 // > LevelEditorLayer::updateOptions @ 0x65cd4c // > LevelEditorLayer::updateOptions @ 0x65cd60 // > LevelEditorLayer::updateOptions @ 0x65cd78 // > LevelEditorLayer::updateOptions @ 0x65cda8 // > LevelEditorLayer::updateOptions @ 0x65cdd8 // > LevelEditorLayer::pasteAttributeState @ 0x661a58 // > LevelEditorLayer::updatePreviewAnim @ 0x662210 // > LevelEditorLayer::updatePreviewParticles @ 0x662474 // > LevelEditorLayer::updatePreviewParticles @ 0x6624d4 // > LevelEditorLayer::updateEditorMode @ 0x6627a4 // > LevelEditorLayer::updateVisibility @ 0x662d28 // > LevelEditorLayer::onPlaytest @ 0x66439c // > LevelEditorLayer::onPlaytest @ 0x664480 // > DrawGridLayer::draw @ 0x665cf8 // > DrawGridLayer::draw @ 0x6660b4 // > LevelEditorLayer::init @ 0x67c220 // > LevelEditorLayer::init @ 0x67c234 // > LevelEditorLayer::init @ 0x67c248 // > LevelEditorLayer::init @ 0x67c7a4 // > LevelEditorLayer::init @ 0x67cb94 // > LevelEditorLayer::init @ 0x67cec8 // > LevelEditorLayer::updateDebugDraw @ 0x683ab4 // > LevelEditorLayer::updateDebugDraw @ 0x683b4c // > LevelEditorLayer::updateDebugDraw @ 0x6848bc // > LevelEditorLayer::updateDebugDraw @ 0x684b7c // > EditorUI::toggleSnap @ 0x686088 // > EditorUI::updateStickyControls @ 0x687000 // > EditorUI::updateStickyControls @ 0x687014 // > EditorUI::canSelectObject @ 0x689064 // > EditorUI::showUI @ 0x68e7b4 // > EditorUI::onLockLayer @ 0x68ea68 // > EditorUI::playerTouchBegan @ 0x6905dc // > GJTransformControl::init @ 0x696858 // > EditorUI::toggleSpecialEditButtons @ 0x6b4fa8 // > EditorUI::onStickyToggle @ 0x6b5858 // > EditorUI::toggleEnableRotate @ 0x6b58d8 // > EditorUI::updateObjectInfoLabel @ 0x6ba9dc // > EditorUI::toggleObjectInfoLabel @ 0x6bbe30 // > EditorUI::init @ 0x6bbfcc // > EditorUI::init @ 0x6bce30 // > EditorUI::init @ 0x6bce44 // > EditorUI::init @ 0x6bdcb8 // > EditorUI::init @ 0x6bdcd0 // > EditorUI::selectObjects @ 0x6bec98 // > EditorUI::onPlaytest @ 0x6befb0 // > EditorUI::ccTouchMoved @ 0x6c193c // > EditorUI::ccTouchEnded @ 0x6c2958 // > EditorUI::ccTouchEnded @ 0x6c2a28 // > EditorUI::ccTouchBegan @ 0x6c5340 // > EditorUI::keyDown @ 0x6c6234 // > EditorUI::keyDown @ 0x6c628c // > EditorUI::keyDown @ 0x6c6438 // > EditorUI::keyDown @ 0x6c645c // > EditorUI::keyDown @ 0x6c64bc // > EditorUI::keyDown @ 0x6c6500 // > PauseLayer::tryQuit @ 0x6c88a8 // > CreatorLayer::init @ 0x6cc5dc // > LevelInfoLayer::downloadLevel @ 0x6d7878 // > LevelInfoLayer::setupProgressBars @ 0x6d81c0 // > LevelInfoLayer::onPlay @ 0x6d8958 // > LevelInfoLayer::onPlay @ 0x6d8998 // > LevelInfoLayer::onPlay @ 0x6d8fac // > LevelInfoLayer::init @ 0x6dcaf8 // > EditLevelLayer::onShare @ 0x6dfebc // > ShareLevelLayer::init @ 0x6e4a74 // > ShareLevelSettingsLayer::onUnlisted @ 0x6e6700 // > LevelBrowserLayer::loadPage @ 0x6e9dcc // > GameLevelManager::limitSavedLevels @ 0x6f31d8 // > GameLevelManager::limitSavedLevels @ 0x6f31f8 // > GameLevelManager::limitSavedLevels @ 0x6f3244 // > GameLevelManager::processOnDownloadLevelCompleted @ 0x707a50 // > GameLevelManager::ProcessHttpRequest @ 0x71bd04 // > GameLevelManager::getLevelComments @ 0x723908 // > GameLevelManager::getLevelComments @ 0x72392c // > GameLevelManager::getOnlineLevels @ 0x72bdf8 // > CustomSongWidget::onDownload @ 0x7480fc // > EffectGameObject::playTriggerEffect @ 0x75be38 // > EffectGameObject::playTriggerEffect @ 0x75bfc4 // > CheckpointGameObject::resetObject @ 0x767048 // > EditorPauseLayer::toggleEditorGround @ 0x78adb8 // > EditorPauseLayer::toggleEditorBackground @ 0x78c1bc // > EditorPauseLayer::toggleGridOnTop @ 0x78c204 // > EditorPauseLayer::customSetup @ 0x78d548 // > EditorPauseLayer::customSetup @ 0x78d614 // > EditorPauseLayer::customSetup @ 0x78d6cc // > EditorPauseLayer::customSetup @ 0x78d784 // > EditorPauseLayer::customSetup @ 0x78d83c // > EditorPauseLayer::customSetup @ 0x78d8f4 // > EditorPauseLayer::customSetup @ 0x78d9ac // > EditorPauseLayer::customSetup @ 0x78da64 // > EditorPauseLayer::customSetup @ 0x78db1c // > EditorPauseLayer::customSetup @ 0x78dbd4 // > EditorPauseLayer::customSetup @ 0x78dc88 // > GJGarageLayer::setupPage @ 0x797984 // > GJDropDownLayer::showLayer @ 0x7c6330 // > GJDropDownLayer::hideLayer @ 0x7c6448 // > VideoOptionsLayer::onApply @ 0x7c7c98 // > VideoOptionsLayer::onApply @ 0x7c7d04 // > VideoOptionsLayer::onApply @ 0x7c7d84 // > VideoOptionsLayer::onApply @ 0x7c7da0 // > GraphicsReloadLayer::performReload @ 0x7c7f50 // > GraphicsReloadLayer::performReload @ 0x7c7fcc // > GraphicsReloadLayer::performReload @ 0x7c8100 // > GraphicsReloadLayer::performReload @ 0x7c8118 // > OptionsLayer::customSetup @ 0x7c88a0 // > MoreOptionsLayer::onToggle @ 0x7c8eec // > MoreOptionsLayer::onToggle @ 0x7c8f84 // > MoreOptionsLayer::onToggle @ 0x7c8f94 // > MoreOptionsLayer::onToggle @ 0x7c8fc0 // > MoreOptionsLayer::onToggle @ 0x7c900c // > MoreOptionsLayer::addToggle @ 0x7ca180 // > MoreOptionsLayer::init @ 0x7cae88 // > VideoOptionsLayer::init @ 0x7ccc80 // > VideoOptionsLayer::init @ 0x7ccd28 // > VideoOptionsLayer::init @ 0x7ccd40 // > VideoOptionsLayer::init @ 0x7ccd54 // > VideoOptionsLayer::init @ 0x7ccfa4 // > VideoOptionsLayer::init @ 0x7cd058 // > VideoOptionsLayer::init @ 0x7cd118 // > MoreVideoOptionsLayer::addToggle @ 0x7cf504 // > MoreVideoOptionsLayer::init @ 0x7d00a4 // > MoreVideoOptionsLayer::updateFPSButtons @ 0x7d0614 // > MoreVideoOptionsLayer::onToggle @ 0x7d0a8c // > MoreVideoOptionsLayer::onToggle @ 0x7d0b18 // > MoreVideoOptionsLayer::onToggle @ 0x7d0b44 // > MoreVideoOptionsLayer::onToggle @ 0x7d0b90 // > MoreVideoOptionsLayer::onToggle @ 0x7d0bd4 // > MoreVideoOptionsLayer::onToggle @ 0x7d0c80 // > ParentalOptionsLayer::addToggle @ 0x7d1b80 // > EndLevelLayer::onReplay @ 0x7d33e4 // > EndLevelLayer::onRestartCheckpoint @ 0x7d35d0 // > EndLevelLayer::showLayer @ 0x7d4b14 // > EndLevelLayer::getEndText @ 0x7d5384 // > EndLevelLayer::customSetup @ 0x7d5c28 // > InfoLayer::onLevelInfo @ 0x7e174c // > InfoLayer::updateUserScoreFinished @ 0x7e1e30 // > InfoLayer::onComment @ 0x7e1fa0 // > InfoLayer::setupCommentsBrowser @ 0x7e304c // > InfoLayer::setupCommentsBrowser @ 0x7e3078 // > InfoLayer::setupCommentsBrowser @ 0x7e3194 // > InfoLayer::setupCommentsBrowser @ 0x7e3244 // > InfoLayer::loadPage @ 0x7e3348 // > InfoLayer::updateCommentModeButtons @ 0x7e3bc8 // > InfoLayer::init @ 0x7e3d18 // > InfoLayer::init @ 0x7e3d2c // > InfoLayer::init @ 0x7e4564 // > InfoLayer::init @ 0x7e46d8 // > InfoLayer::init @ 0x7e4e30 // > InfoLayer::init @ 0x7e52d4 // > InfoLayer::init @ 0x7e5620 // > InfoLayer::reloadWindow @ 0x7e5b9c // > RetryLevelLayer::onReplay @ 0x7ed638 // > MusicDownloadManager::pathForSFXFolder @ 0x82efb8 // > MusicDownloadManager::pathForSongFolder @ 0x82f7c4 // > MusicDownloadManager::onDownloadSongCompleted @ 0x82ff9c // > SFXSearchResult::updateObjects @ 0x83266c // > CustomSongLayer::onSearch @ 0x83d01c // > SongSelectNode::onOpenCustomSong @ 0x83f84c // > GJBaseGameLayer::createPlayer @ 0x856d80 // > GJBaseGameLayer::increaseBatchNodeCapacity @ 0x8581d4 // > GJBaseGameLayer::buttonIsRelevant @ 0x8642a0 // > GJBaseGameLayer::handleButton @ 0x88c900 // > GJBaseGameLayer::init @ 0x893b0c // > GJBaseGameLayer::init @ 0x893b24 // > GJBaseGameLayer::init @ 0x893b38 // > GJBaseGameLayer::init @ 0x893b4c // > GJBaseGameLayer::init @ 0x893b60 // > GJBaseGameLayer::init @ 0x894100 // > GJBaseGameLayer::loadStartPosObject @ 0x89d6ec // > GameOptionsLayer::didToggle @ 0x8c3470 // > UIOptionsLayer::getValue @ 0x8c3820 // > GJOptionsLayer::addGVToggle @ 0x8db22c // > GameOptionsLayer::setupOptions @ 0x8dbd28 // > GameOptionsLayer::setupOptions @ 0x8dbd54 // > GameOptionsLayer::setupOptions @ 0x8dbda0 // > GameOptionsLayer::setupOptions @ 0x8dbdcc // > GameOptionsLayer::setupOptions @ 0x8dbdf8 // > GameOptionsLayer::setupOptions @ 0x8dbe24 // > GameOptionsLayer::setupOptions @ 0x8dbe50 // > GameOptionsLayer::setupOptions @ 0x8dbe7c // > GameOptionsLayer::setupOptions @ 0x8dbeac // > GameOptionsLayer::setupOptions @ 0x8dc1fc // > ProfilePage::loadPageFromUserInfo @ 0x8faa78 // > ProfilePage::loadPageFromUserInfo @ 0x8fbef4 // > ProfilePage::getUserInfoFinished @ 0x8ff0e0 // > CreateParticlePopup::onTogglePerfLog @ 0x9c095c // > CreateParticlePopup::init @ 0x9c5844 // > CreateParticlePopup::init @ 0x9c6620 // > SetupSmartBlockLayer::determineStartValues @ 0x9dccb0 // > SetupSmartBlockLayer::determineStartValues @ 0x9dccc4 // > ShaderLayer::setupShader @ 0x9f74ac // > PlayerObject::playDeathEffect @ 0xa27ca0 // > CustomSFXWidget::onDownload @ 0xa31d00 // > CustomSFXWidget::downloadSFXFinished @ 0xa33940 // > sub_A5DEA4 @ 0xa5df20 // > SearchSFXPopup::init @ 0xa5f42c // > @ 0xc2da8 // // 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 GameManager::getGameVariable(GameManager *a1, const char *a2) { size_t v4; // x0 cocos2d::CCDictionary *m_valueKeeper; // x19 cocos2d::CCString *v6; // x0 bool v7; // w22 char *v8; // x0 char *v9; // x0 unsigned int *v11; // x1 int v12; // w2 unsigned int *v13; // x1 int v14; // w2 char *v15; // [xsp+58h] [xbp+58h] BYREF std::string v16; // [xsp+60h] [xbp+60h] BYREF sub_D153B8((int)&v15, "gv_"); v4 = strlen(a2); sub_D15FD4(&v15, a2, v4); m_valueKeeper = a1->m_valueKeeper; sub_D153B8((int)&v16, v15); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_valueKeeper, &v16); v7 = cocos2d::CCString::boolValue(v6); v8 = (char *)v16.m_data.m_data - 24; if ( (__int64 *)v16.m_data.m_data - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)((char *)v16.m_data.m_data - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *((_DWORD *)v16.m_data.m_data - 2); *((_DWORD *)v16.m_data.m_data - 2) = v12 - 1; } if ( v12 <= 0 ) operator delete(v8); } v9 = v15 - 24; if ( v15 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v15 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *((_DWORD *)v15 - 2); *((_DWORD *)v15 - 2) = v14 - 1; } if ( v14 <= 0 ) operator delete(v9); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source