; ; GameManager::toggleGameVariable from 0x140183290 to 0x140183340 (176 bytes) ; ; 43 xrefs: ; > EditorPauseLayer::toggleIgnoreDamage @ 0x1400dcfd1 ; > EditorPauseLayer::toggleEditorColorMode @ 0x1400dd022 ; > EditorPauseLayer::toggleHideInvisible @ 0x1400dd081 ; > EditorPauseLayer::togglePreviewParticles @ 0x1400dd0d2 ; > EditorPauseLayer::togglePreviewShaders @ 0x1400dd131 ; > EditorPauseLayer::togglePreviewAnim @ 0x1400dd195 ; > EditorPauseLayer::toggleDebugDraw @ 0x1400dd341 ; > EditorPauseLayer::toggleEditorGround @ 0x1400dd392 ; > EditorPauseLayer::toggleEditorGrid @ 0x1400dd451 ; > EditorPauseLayer::toggleShowObjectInfo @ 0x1400dd4a2 ; > EditorPauseLayer::toggleSelectFilter @ 0x1400dd501 ; > EditorUI::init @ 0x1400e17f6 ; > EditorUI::init @ 0x1400e1834 ; > EditorUI::onStickyToggle @ 0x1401129a2 ; > EditorUI::keyDown @ 0x140125fe0 ; > EditorUI::keyDown @ 0x14012611c ; > EditorUI::keyDown @ 0x1401261da ; > EditorUI::keyDown @ 0x140126235 ; > EditorUI::keyDown @ 0x1401262e4 ; > GJGarageLayer::onSpecial @ 0x140277a41 ; > GJOptionsLayer::onToggle @ 0x140290dc8 ; > GameOptionsLayer::didToggle @ 0x1402a05d1 ; > GameOptionsLayer::didToggle @ 0x1402a0619 ; > GameOptionsLayer::didToggle @ 0x1402a06f4 ; > GameOptionsLayer::didToggle @ 0x1402a0734 ; > GameOptionsLayer::didToggle @ 0x1402a07d3 ; > GameOptionsLayer::didToggle @ 0x1402a082c ; > GameOptionsLayer::didToggle @ 0x1402a086f ; > GameOptionsLayer::didToggle @ 0x1402a08c8 ; > GameOptionsLayer::didToggle @ 0x1402a0960 ; > GameOptionsLayer::didToggle @ 0x1402a09c7 ; > UIOptionsLayer::valueDidChange @ 0x1402a38ac ; > InfoLayer::toggleExtendedMode @ 0x1402bf1b2 ; > InfoLayer::toggleSmallCommentMode @ 0x1402bf216 ; > OptionsLayer::onMenuMusic @ 0x1403728bf ; > MoreOptionsLayer::onToggle @ 0x140375c2f ; > MoreVideoOptionsLayer::onToggle @ 0x14037a645 ; > ParentalOptionsLayer::onToggle @ 0x14037c1ed ; > CreateParticlePopup::onTogglePerfLog @ 0x140432852 ; > SFXBrowser::onToggleCompactMode @ 0x1404804ac ; > SearchSFXPopup::onSearchFolders @ 0x140481021 ; > UILayer::handleKeypress @ 0x1404cdae7 ; > @ 0x1406cb58c ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x140183290 mov [rsp+arg_0], rcx ; +0x5, 0x140183295 push rdi ; +0xa, 0x14018329a sub rsp, 20h ; +0xb, 0x14018329b mov rdi, rdx ; +0xf, 0x14018329f mov rcx, cs:qword_1406C2ED8 ; +0x12, 0x1401832a2 test rcx, rcx ; +0x19, 0x1401832a9 jnz short loc_1401832DD ; +0x1c, 0x1401832ac mov ecx, 668h; Size ; +0x1e, 0x1401832ae call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x23, 0x1401832b3 mov [rsp+28h+arg_0], rax ; +0x28, 0x1401832b8 mov rcx, rax ; +0x2d, 0x1401832bd call sub_14017AB00 ; +0x30, 0x1401832c0 nop ; +0x35, 0x1401832c5 mov cs:qword_1406C2ED8, rax ; +0x36, 0x1401832c6 mov rdx, [rax] ; +0x3d, 0x1401832cd mov rcx, rax ; +0x40, 0x1401832d0 call qword ptr [rdx+48h] ; +0x43, 0x1401832d3 mov rcx, cs:qword_1406C2ED8 ; +0x46, 0x1401832d6 mov rdx, rdi ; +0x4d, 0x1401832dd call GameManager__getGameVariable ; +0x50, 0x1401832e0 movzx ebx, al ; +0x55, 0x1401832e5 xor bl, 1 ; +0x58, 0x1401832e8 mov rcx, cs:qword_1406C2ED8 ; +0x5b, 0x1401832eb test rcx, rcx ; +0x62, 0x1401832f2 jnz short loc_140183326 ; +0x65, 0x1401832f5 mov ecx, 668h; Size ; +0x67, 0x1401832f7 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x6c, 0x1401832fc mov [rsp+28h+arg_0], rax ; +0x71, 0x140183301 mov rcx, rax ; +0x76, 0x140183306 call sub_14017AB00 ; +0x79, 0x140183309 nop ; +0x7e, 0x14018330e mov cs:qword_1406C2ED8, rax ; +0x7f, 0x14018330f mov rdx, [rax] ; +0x86, 0x140183316 mov rcx, rax ; +0x89, 0x140183319 call qword ptr [rdx+48h] ; +0x8c, 0x14018331c mov rcx, cs:qword_1406C2ED8 ; +0x8f, 0x14018331f movzx r8d, bl ; +0x96, 0x140183326 mov rdx, rdi ; +0x9a, 0x14018332a call GameManager__setGameVariable ; +0x9d, 0x14018332d movzx eax, bl ; +0xa2, 0x140183332 mov rbx, [rsp+28h+arg_8] ; +0xa5, 0x140183335 add rsp, 20h ; +0xaa, 0x14018333a pop rdi ; +0xae, 0x14018333e retn ; +0xaf, 0x14018333f