{"type": "func", "start": 4295002992, "end": 4295003059, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x100008b70 to 0x100008bb3 (67 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000648a\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:18:48 +0000\n// \n\n__int64 __fastcall EditorUI::onStickyToggle(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // rdi\n  __int64 v5; // rdx\n  __int64 v6; // rax\n\n  v4 = GameManager::sharedState(a1, a2, a3);\n  GameManager::toggleGameVariable(v4, \"0180\");\n  v6 = GameManager::sharedState(v4, \"0180\", v5);\n  *(_BYTE *)(a1 + 868) = GameManager::getGameVariable(v6, \"0180\");\n  return EditorUI::updateButtons(a1);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x100008b70 to 0x100008bb3 (67 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000648a\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:18:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100008b70\nmov     rbp, rsp                                                       ; +0x1, 0x100008b71\npush    r14                                                            ; +0x4, 0x100008b74\npush    rbx                                                            ; +0x6, 0x100008b76\nmov     rbx, rdi                                                       ; +0x7, 0x100008b77\ncall    GameManager__sharedState                                       ; +0xa, 0x100008b7a\nlea     r14, a0180; \"0180\"                                             ; +0xf, 0x100008b7f\nmov     rdi, rax                                                       ; +0x16, 0x100008b86\nmov     rsi, r14                                                       ; +0x19, 0x100008b89\ncall    GameManager__toggleGameVariable                                ; +0x1c, 0x100008b8c\ncall    GameManager__sharedState                                       ; +0x21, 0x100008b91\nmov     rdi, rax                                                       ; +0x26, 0x100008b96\nmov     rsi, r14                                                       ; +0x29, 0x100008b99\ncall    GameManager__getGameVariable                                   ; +0x2c, 0x100008b9c\nmov     [rbx+364h], al                                                 ; +0x31, 0x100008ba1\nmov     rdi, rbx                                                       ; +0x37, 0x100008ba7\npop     rbx                                                            ; +0x3a, 0x100008baa\npop     r14                                                            ; +0x3b, 0x100008bab\npop     rbp                                                            ; +0x3d, 0x100008bad\njmp     EditorUI__updateButtons                                        ; +0x3e, 0x100008bae", "xrefs": ["EditorUI::init @ 0x10000648a"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}