{"type": "func", "start": 4299626076, "end": 4299626144, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x10047165c to 0x1004716a0 (68 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10046f618\n// \n// This function is hookable on this platform (idp: arm, 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 11:05:38 +0000\n// \n\n__int64 __fastcall EditorUI::onStickyToggle(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x0\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0180\");\n  v3 = GameManager::sharedState();\n  *(_BYTE *)(a1 + 868) = GameManager::getGameVariable(v3, \"0180\");\n  return EditorUI::updateButtons(a1);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x10047165c to 0x1004716a0 (68 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10046f618\n; \n; This function is hookable on this platform (idp: arm, 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 11:05:38 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10047165c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100471660\nADD             X29, SP, #0x10                                         ; +0x8, 0x100471664\nMOV             X19, X0                                                ; +0xc, 0x100471668\nBL              GameManager__sharedState                               ; +0x10, 0x10047166c\nADRL            X20, a0180; \"0180\"                                     ; +0x14, 0x100471670\nMOV             X1, X20                                                ; +0x1c, 0x100471678\nBL              GameManager__toggleGameVariable                        ; +0x20, 0x10047167c\nBL              GameManager__sharedState                               ; +0x24, 0x100471680\nMOV             X1, X20                                                ; +0x28, 0x100471684\nBL              GameManager__getGameVariable                           ; +0x2c, 0x100471688\nSTRB            W0, [X19,#0x364]                                       ; +0x30, 0x10047168c\nMOV             X0, X19                                                ; +0x34, 0x100471690\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x100471694\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x100471698\nB               EditorUI__updateButtons                                ; +0x40, 0x10047169c", "xrefs": ["EditorUI::init @ 0x10046f618"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}