{"type": "func", "start": 4295018864, "end": 4295018931, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x10000c970 to 0x10000c9b3 (67 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000a3ad\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::onStickyToggle(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n  GameManager *v3; // rax\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0180\");\n  v3 = GameManager::sharedState();\n  a1->m_linkControlsDisabled = GameManager::getGameVariable(v3, \"0180\");\n  EditorUI::updateButtons(a1);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x10000c970 to 0x10000c9b3 (67 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000a3ad\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10000c970\nmov     rbp, rsp                                                       ; +0x1, 0x10000c971\npush    r14                                                            ; +0x4, 0x10000c974\npush    rbx                                                            ; +0x6, 0x10000c976\nmov     rbx, rdi                                                       ; +0x7, 0x10000c977\ncall    GameManager__sharedState                                       ; +0xa, 0x10000c97a\nlea     r14, a0180; \"0180\"                                             ; +0xf, 0x10000c97f\nmov     rdi, rax                                                       ; +0x16, 0x10000c986\nmov     rsi, r14                                                       ; +0x19, 0x10000c989\ncall    GameManager__toggleGameVariable                                ; +0x1c, 0x10000c98c\ncall    GameManager__sharedState                                       ; +0x21, 0x10000c991\nmov     rdi, rax                                                       ; +0x26, 0x10000c996\nmov     rsi, r14                                                       ; +0x29, 0x10000c999\ncall    GameManager__getGameVariable                                   ; +0x2c, 0x10000c99c\nmov     [rbx+30Ch], al                                                 ; +0x31, 0x10000c9a1\nmov     rdi, rbx                                                       ; +0x37, 0x10000c9a7\npop     rbx                                                            ; +0x3a, 0x10000c9aa\npop     r14                                                            ; +0x3b, 0x10000c9ab\npop     rbp                                                            ; +0x3d, 0x10000c9ad\njmp     EditorUI__updateButtons                                        ; +0x3e, 0x10000c9ae", "xrefs": ["EditorUI::init @ 0x10000a3ad"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}