//
// GameManager::getGameVariable from 0x322d64 to 0x322ddc (120 bytes)
//
// 265 xrefs:
// > FLAlertLayer::init @ 0x2eaf4e
// > FLAlertLayer::init @ 0x2eb00a
// > FMODAudioEngine::setupAudioEngine @ 0x2fe9c2
// > FMODAudioEngine::setupAudioEngine @ 0x2fea0e
// > AppDelegate::resumeSound @ 0x307b92
// > MenuLayer::onGameCenter @ 0x30a318
// > MenuLayer::init @ 0x30b10e
// > MenuLayer::init @ 0x30b3b0
// > LoadingLayer::loadAssets @ 0x30baa0
// > LoadingLayer::loadAssets @ 0x30bae4
// > UILayer::handleKeypress @ 0x30d5d6
// > UILayer::handleKeypress @ 0x30d61e
// > UILayer::ccTouchBegan @ 0x30daa8
// > UILayer::ccTouchBegan @ 0x30daea
// > UILayer::refreshDpad @ 0x30df94
// > UILayer::init @ 0x30e144
// > PlayLayer::showTwoPlayerGuide @ 0x30e78a
// > PlayLayer::toggleMusicInPractice @ 0x30ed52
// > PlayLayer::toggleHideAttempts @ 0x30efaa
// > PlayLayer::toggleHideAttempts @ 0x30efba
// > PlayLayer::updateDebugDrawSettings @ 0x30f3bc
// > PlayLayer::updateDebugDrawSettings @ 0x30f3ce
// > PlayLayer::updateDebugDrawSettings @ 0x30f3e0
// > PlayLayer::toggleProgressbar @ 0x31289c
// > PlayLayer::toggleProgressbar @ 0x3128b0
// > PlayLayer::resetLevelFromStart @ 0x312f52
// > PlayLayer::updateAttempts @ 0x3131ce
// > PlayLayer::updateAttempts @ 0x3131de
// > PlayLayer::destroyPlayer @ 0x313d66
// > PlayLayer::destroyPlayer @ 0x313fe8
// > PlayLayer::destroyPlayer @ 0x31410a
// > PlayLayer::resumeAndRestart @ 0x3145fa
// > PlayLayer::resumeAndRestart @ 0x314610
// > PlayLayer::resume @ 0x3146e2
// > PlayLayer::resume @ 0x3146f8
// > PlayLayer::toggleInfoLabel @ 0x31baac
// > PlayLayer::setupHasCompleted @ 0x31c214
// > PlayLayer::init @ 0x31c8f8
// > PlayLayer::init @ 0x31c90e
// > PlayLayer::init @ 0x31c972
// > PlayLayer::init @ 0x31c988
// > PlayLayer::init @ 0x31c99a
// > PlayLayer::init @ 0x31c9ac
// > PlayLayer::init @ 0x31cce4
// > PlayLayer::init @ 0x31cd9c
// > PlayLayer::processCheckpoints @ 0x31f1a4
// > GameManager::playMenuMusic @ 0x323f0c
// > GameManager::fadeInMenuMusic @ 0x323fbe
// > GameManager::toggleGameVariable @ 0x324016
// > GameManager::loadVideoSettings @ 0x3240e6
// > GameManager::loadVideoSettings @ 0x3240f6
// > GameManager::loadVideoSettings @ 0x324106
// > GameManager::updateCustomFPS @ 0x324780
// > GameManager::dataLoaded @ 0x328960
// > GameManager::saveDPadLayout @ 0x32a184
// > PlayerObject::tryPlaceCheckpoint @ 0x344d72
// > PlayerObject::init @ 0x350d32
// > PlayerObject::init @ 0x350d42
// > PlayerObject::init @ 0x350d52
// > PlayerObject::init @ 0x35182a
// > PlayerObject::init @ 0x35183a
// > PlayerObject::init @ 0x35184a
// > LevelEditorLayer::updateOptions @ 0x365b78
// > LevelEditorLayer::updateOptions @ 0x365b9e
// > LevelEditorLayer::updateOptions @ 0x365bb0
// > LevelEditorLayer::updateOptions @ 0x365bc2
// > LevelEditorLayer::updateOptions @ 0x365bd4
// > LevelEditorLayer::updateOptions @ 0x365be6
// > LevelEditorLayer::updateOptions @ 0x365bf8
// > LevelEditorLayer::updateOptions @ 0x365c0a
// > LevelEditorLayer::updateOptions @ 0x365c1c
// > LevelEditorLayer::updateOptions @ 0x365c2e
// > LevelEditorLayer::updateOptions @ 0x365c40
// > LevelEditorLayer::updateOptions @ 0x365c52
// > LevelEditorLayer::updateOptions @ 0x365c64
// > LevelEditorLayer::updateOptions @ 0x365c7e
// > LevelEditorLayer::updateOptions @ 0x365ca0
// > LevelEditorLayer::updateOptions @ 0x365ccc
// > LevelEditorLayer::pasteAttributeState @ 0x368bd0
// > LevelEditorLayer::updatePreviewAnim @ 0x368e80
// > LevelEditorLayer::updatePreviewParticles @ 0x368fdc
// > LevelEditorLayer::updatePreviewParticles @ 0x368ff6
// > LevelEditorLayer::updateEditorMode @ 0x36905c
// > LevelEditorLayer::updateVisibility @ 0x3695b8
// > DrawGridLayer::draw @ 0x36aeda
// > LevelEditorLayer::onPlaytest @ 0x36ebfe
// > LevelEditorLayer::onPlaytest @ 0x36ed22
// > LevelEditorLayer::init @ 0x37648a
// > LevelEditorLayer::init @ 0x37649c
// > LevelEditorLayer::init @ 0x3764ae
// > LevelEditorLayer::init @ 0x3764c8
// > LevelEditorLayer::init @ 0x37695e
// > LevelEditorLayer::init @ 0x376cf2
// > LevelEditorLayer::updateDebugDraw @ 0x379e26
// > LevelEditorLayer::updateDebugDraw @ 0x379eda
// > LevelEditorLayer::updateDebugDraw @ 0x37a69a
// > LevelEditorLayer::updateDebugDraw @ 0x37a72a
// > EditorUI::toggleSnap @ 0x37bb36
// > EditorUI::updateStickyControls @ 0x37c260
// > EditorUI::updateStickyControls @ 0x37c270
// > EditorUI::canSelectObject @ 0x37d810
// > EditorUI::showUI @ 0x380bb0
// > EditorUI::onLockLayer @ 0x380d30
// > EditorUI::playerTouchBegan @ 0x381f8a
// > GJTransformControl::init @ 0x387882
// > EditorUI::toggleSpecialEditButtons @ 0x39ca94
// > EditorUI::onStickyToggle @ 0x39cff4
// > EditorUI::toggleEnableRotate @ 0x39d042
// > EditorUI::updateObjectInfoLabel @ 0x3a0698
// > EditorUI::toggleObjectInfoLabel @ 0x3a1024
// > EditorUI::init @ 0x3a10ec
// > EditorUI::init @ 0x3a1cc8
// > EditorUI::init @ 0x3a1cd8
// > EditorUI::init @ 0x3a2882
// > EditorUI::init @ 0x3a2896
// > EditorUI::selectObjects @ 0x3a3042
// > EditorUI::onPlaytest @ 0x3a3430
// > EditorUI::ccTouchMoved @ 0x3a4c30
// > EditorUI::ccTouchEnded @ 0x3a54b2
// > EditorUI::ccTouchEnded @ 0x3a5580
// > EditorUI::ccTouchBegan @ 0x3a6c8c
// > EditorUI::keyDown @ 0x3a7458
// > EditorUI::keyDown @ 0x3a7486
// > EditorUI::keyDown @ 0x3a74b4
// > EditorUI::keyDown @ 0x3a74e6
// > EditorUI::keyDown @ 0x3a7500
// > EditorUI::keyDown @ 0x3a751e
// > PauseLayer::tryQuit @ 0x3a8f52
// > CreatorLayer::init @ 0x3ab72e
// > LevelInfoLayer::downloadLevel @ 0x3b1900
// > LevelInfoLayer::setupProgressBars @ 0x3b1ea4
// > LevelInfoLayer::onPlay @ 0x3b229c
// > LevelInfoLayer::onPlay @ 0x3b22d4
// > LevelInfoLayer::onPlay @ 0x3b2302
// > LevelInfoLayer::init @ 0x3b4f6e
// > EditLevelLayer::onShare @ 0x3b69c0
// > ShareLevelLayer::init @ 0x3b92f8
// > ShareLevelSettingsLayer::onUnlisted @ 0x3ba286
// > LevelBrowserLayer::loadPage @ 0x3bba72
// > GameLevelManager::limitSavedLevels @ 0x3bff56
// > GameLevelManager::limitSavedLevels @ 0x3bff6e
// > GameLevelManager::limitSavedLevels @ 0x3bffa6
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x3c7490
// > GameLevelManager::ProcessHttpRequest @ 0x3cf56e
// > GameLevelManager::getLevelComments @ 0x3d1e58
// > GameLevelManager::getLevelComments @ 0x3d1e70
// > GameLevelManager::getOnlineLevels @ 0x3d477e
// > CustomSongWidget::onDownload @ 0x3e01da
// > EffectGameObject::playTriggerEffect @ 0x3e8c76
// > EffectGameObject::playTriggerEffect @ 0x3e8c94
// > CheckpointGameObject::resetObject @ 0x3ec16a
// > EditorPauseLayer::toggleEditorGround @ 0x3ff464
// > EditorPauseLayer::toggleEditorBackground @ 0x3ffdbc
// > EditorPauseLayer::toggleGridOnTop @ 0x3ffdec
// > EditorPauseLayer::customSetup @ 0x400b1c
// > EditorPauseLayer::customSetup @ 0x400bb6
// > EditorPauseLayer::customSetup @ 0x400c44
// > EditorPauseLayer::customSetup @ 0x400d3c
// > EditorPauseLayer::customSetup @ 0x400dca
// > EditorPauseLayer::customSetup @ 0x400e5e
// > EditorPauseLayer::customSetup @ 0x400ee8
// > EditorPauseLayer::customSetup @ 0x400f70
// > EditorPauseLayer::customSetup @ 0x400ff8
// > EditorPauseLayer::customSetup @ 0x401084
// > EditorPauseLayer::customSetup @ 0x4011a4
// > GJGarageLayer::setupPage @ 0x4064a2
// > GJDropDownLayer::showLayer @ 0x420a3c
// > GJDropDownLayer::hideLayer @ 0x420b02
// > OptionsLayer::customSetup @ 0x421728
// > VideoOptionsLayer::onApply @ 0x42201c
// > VideoOptionsLayer::onApply @ 0x422040
// > VideoOptionsLayer::onApply @ 0x422054
// > VideoOptionsLayer::onApply @ 0x4220ec
// > GraphicsReloadLayer::performReload @ 0x422286
// > GraphicsReloadLayer::performReload @ 0x42229e
// > GraphicsReloadLayer::performReload @ 0x4222b2
// > GraphicsReloadLayer::performReload @ 0x422312
// > MoreOptionsLayer::onToggle @ 0x422526
// > MoreOptionsLayer::onToggle @ 0x422534
// > MoreOptionsLayer::onToggle @ 0x422584
// > MoreOptionsLayer::onToggle @ 0x4225ce
// > MoreOptionsLayer::onToggle @ 0x42261e
// > MoreOptionsLayer::addToggle @ 0x422f08
// > MoreOptionsLayer::init @ 0x42344e
// > VideoOptionsLayer::init @ 0x424a84
// > VideoOptionsLayer::init @ 0x424b08
// > VideoOptionsLayer::init @ 0x424b1c
// > VideoOptionsLayer::init @ 0x424b2c
// > VideoOptionsLayer::init @ 0x424d14
// > VideoOptionsLayer::init @ 0x424d92
// > VideoOptionsLayer::init @ 0x424e8e
// > MoreVideoOptionsLayer::addToggle @ 0x4259cc
// > MoreVideoOptionsLayer::init @ 0x425e8c
// > MoreVideoOptionsLayer::updateFPSButtons @ 0x42621e
// > MoreVideoOptionsLayer::onToggle @ 0x4262ec
// > MoreVideoOptionsLayer::onToggle @ 0x42633c
// > MoreVideoOptionsLayer::onToggle @ 0x426386
// > MoreVideoOptionsLayer::onToggle @ 0x4263d0
// > MoreVideoOptionsLayer::onToggle @ 0x426420
// > MoreVideoOptionsLayer::onToggle @ 0x42648c
// > ParentalOptionsLayer::addToggle @ 0x426a9c
// > EndLevelLayer::onReplay @ 0x427528
// > EndLevelLayer::onRestartCheckpoint @ 0x427708
// > EndLevelLayer::showLayer @ 0x4286fc
// > EndLevelLayer::getEndText @ 0x428bb6
// > EndLevelLayer::customSetup @ 0x429348
// > InfoLayer::onLevelInfo @ 0x42f0e2
// > InfoLayer::updateUserScoreFinished @ 0x42f328
// > InfoLayer::onComment @ 0x42f3f8
// > InfoLayer::setupCommentsBrowser @ 0x42fb9e
// > InfoLayer::setupCommentsBrowser @ 0x42fc22
// > InfoLayer::loadPage @ 0x42fd7e
// > InfoLayer::updateCommentModeButtons @ 0x430128
// > InfoLayer::init @ 0x43020e
// > InfoLayer::init @ 0x43022c
// > InfoLayer::init @ 0x43093e
// > InfoLayer::init @ 0x431032
// > InfoLayer::init @ 0x431226
// > InfoLayer::init @ 0x43125a
// > InfoLayer::reloadWindow @ 0x43160c
// > RetryLevelLayer::onReplay @ 0x4355ec
// > MusicDownloadManager::pathForSFXFolder @ 0x45950e
// > MusicDownloadManager::pathForSongFolder @ 0x4597d6
// > MusicDownloadManager::onDownloadSongCompleted @ 0x459b00
// > SFXSearchResult::updateObjects @ 0x45d920
// > CustomSongLayer::onSearch @ 0x45f608
// > SongSelectNode::onOpenCustomSong @ 0x460ff0
// > GJBaseGameLayer::createPlayer @ 0x46cec2
// > GJBaseGameLayer::increaseBatchNodeCapacity @ 0x46dcc4
// > GJBaseGameLayer::buttonIsRelevant @ 0x475862
// > GJBaseGameLayer::init @ 0x490b36
// > GJBaseGameLayer::init @ 0x490b4c
// > GJBaseGameLayer::init @ 0x490b5e
// > GJBaseGameLayer::init @ 0x490b6e
// > GJBaseGameLayer::init @ 0x490b80
// > GJBaseGameLayer::init @ 0x490ffe
// > GJBaseGameLayer::handleButton @ 0x492d54
// > GJBaseGameLayer::loadStartPosObject @ 0x496fdc
// > GameOptionsLayer::didToggle @ 0x4a90b2
// > UIOptionsLayer::getValue @ 0x4a93a0
// > GJOptionsLayer::addGVToggle @ 0x4b45fe
// > GameOptionsLayer::setupOptions @ 0x4b4df6
// > GameOptionsLayer::setupOptions @ 0x4b4e12
// > GameOptionsLayer::setupOptions @ 0x4b4e44
// > GameOptionsLayer::setupOptions @ 0x4b4e60
// > GameOptionsLayer::setupOptions @ 0x4b4e7c
// > GameOptionsLayer::setupOptions @ 0x4b4e98
// > GameOptionsLayer::setupOptions @ 0x4b4eb4
// > GameOptionsLayer::setupOptions @ 0x4b4ed0
// > GameOptionsLayer::setupOptions @ 0x4b4ef0
// > GameOptionsLayer::setupOptions @ 0x4b508a
// > ProfilePage::loadPageFromUserInfo @ 0x4c6456
// > ProfilePage::loadPageFromUserInfo @ 0x4c6758
// > ProfilePage::getUserInfoFinished @ 0x4c8026
// > CreateParticlePopup::onTogglePerfLog @ 0x52f514
// > CreateParticlePopup::init @ 0x532a1a
// > CreateParticlePopup::init @ 0x533510
// > SetupSmartBlockLayer::determineStartValues @ 0x53d812
// > SetupSmartBlockLayer::determineStartValues @ 0x53d822
// > ShaderLayer::setupShader @ 0x54edba
// > PlayerObject::playDeathEffect @ 0x56b208
// > CustomSFXWidget::onDownload @ 0x56df30
// > CustomSFXWidget::downloadSFXFinished @ 0x56f106
// > sub_5836C8 @ 0x5836fe
// > SearchSFXPopup::init @ 0x58460a
//
// 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)
{
cocos2d::CCDictionary *m_valueKeeper; // r7
cocos2d::CCString *v5; // r0
char *v7; // [sp+4h] [bp-Ch] BYREF
std::string v8; // [sp+8h] [bp-8h] BYREF
v7 = (char *)a2;
sub_776584((int)&v7, "gv_");
sub_774544((int)&v7, (char *)a2);
m_valueKeeper = a1->m_valueKeeper;
sub_776584((int)&v8, v7);
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_valueKeeper, &v8);
LOBYTE(m_valueKeeper) = cocos2d::CCString::boolValue(v5);
sub_774008(&v8);
sub_774008(&v7);
return (char)m_valueKeeper;
}