// // GameManager::toggleGameVariable from 0x5f0160 to 0x5f01a4 (68 bytes) // // 50 xrefs: // > UILayer::handleKeypress @ 0x5c6ffc // > EditorUI::onStickyToggle @ 0x6b584c // > EditorUI::init @ 0x6bdce8 // > EditorUI::init @ 0x6bdcf8 // > EditorUI::keyDown @ 0x6c6220 // > EditorUI::keyDown @ 0x6c6280 // > EditorUI::keyDown @ 0x6c6450 // > EditorUI::keyDown @ 0x6c64a8 // > EditorUI::keyDown @ 0x6c64ec // > EditorPauseLayer::toggleIgnoreDamage @ 0x78ac68 // > EditorPauseLayer::toggleHideInvisible @ 0x78ac84 // > EditorPauseLayer::togglePreviewShaders @ 0x78aca0 // > EditorPauseLayer::toggleDebugDraw @ 0x78acbc // > EditorPauseLayer::toggleEditorGrid @ 0x78acd8 // > EditorPauseLayer::toggleSelectFilter @ 0x78acf4 // > EditorPauseLayer::toggleEditorColorMode @ 0x78ad14 // > EditorPauseLayer::togglePreviewParticles @ 0x78ad44 // > EditorPauseLayer::togglePreviewAnim @ 0x78ad74 // > EditorPauseLayer::toggleEditorGround @ 0x78ada8 // > EditorPauseLayer::toggleShowObjectInfo @ 0x78adec // > EditorPauseLayer::toggleFollowPlayer @ 0x78c134 // > EditorPauseLayer::togglePlaytestMusic @ 0x78c150 // > EditorPauseLayer::toggleEffectDuration @ 0x78c16c // > EditorPauseLayer::toggleEffectLines @ 0x78c188 // > EditorPauseLayer::toggleEditorBackground @ 0x78c1ac // > EditorPauseLayer::toggleGridOnTop @ 0x78c1f8 // > EditorPauseLayer::toggleRecordOrder @ 0x78c26c // > GJGarageLayer::onSpecial @ 0x78fc40 // > ParentalOptionsLayer::onToggle @ 0x7c70c4 // > OptionsLayer::onMenuMusic @ 0x7c7374 // > MoreOptionsLayer::onToggle @ 0x7c8c18 // > MoreVideoOptionsLayer::onToggle @ 0x7d0700 // > InfoLayer::toggleExtendedMode @ 0x7e5c9c // > InfoLayer::toggleSmallCommentMode @ 0x7e5ccc // > KeybindingsLayer::onToggle @ 0x853ecc // > GameOptionsLayer::didToggle @ 0x8c3364 // > GameOptionsLayer::didToggle @ 0x8c3394 // > GameOptionsLayer::didToggle @ 0x8c33cc // > GameOptionsLayer::didToggle @ 0x8c3404 // > GameOptionsLayer::didToggle @ 0x8c341c // > GameOptionsLayer::didToggle @ 0x8c3460 // > GameOptionsLayer::didToggle @ 0x8c3494 // > GameOptionsLayer::didToggle @ 0x8c34cc // > GameOptionsLayer::didToggle @ 0x8c34f4 // > GJOptionsLayer::onToggle @ 0x8c5d00 // > UIOptionsLayer::valueDidChange @ 0x8d84f4 // > CreateParticlePopup::onTogglePerfLog @ 0x9c0950 // > SearchSFXPopup::onSearchFolders @ 0xa5cd30 // > SFXBrowser::onToggleCompactMode @ 0xa5ef78 // > @ 0x6c750 // // 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::toggleGameVariable(GameManager *a1, const char *a2) { GameManager *v3; // x0 bool v4; // w19 GameManager *v5; // x0 v3 = GameManager::sharedState(); v4 = !GameManager::getGameVariable(v3, a2); v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, a2, v4); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source