{"type": "func", "start": 7034924, "end": 7034992, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x6b582c to 0x6b5870 (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9bbe0\n// > EditorUI::init @ 0x6bccb4\n// > <???> @ 0x122d4f0\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 EditorUI::onStickyToggle(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0180\");\n  v4 = GameManager::sharedState();\n  a1->m_linkControlsDisabled = GameManager::getGameVariable(v4, \"0180\");\n  EditorUI::updateButtons(a1);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x6b582c to 0x6b5870 (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9bbe0\n; > EditorUI::init @ 0x6bccb4\n; > <???> @ 0x122d4f0\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6b582c\nMOV             X29, SP                                                ; +0x4, 0x6b5830\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6b5834\nADRP            X19, #a0180@PAGE; \"0180\"                               ; +0xc, 0x6b5838\nMOV             X20, X0                                                ; +0x10, 0x6b583c\nADD             X19, X19, #a0180@PAGEOFF; \"0180\"                       ; +0x14, 0x6b5840\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x6b5844\nMOV             X1, X19; char *                                        ; +0x1c, 0x6b5848\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x20, 0x6b584c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24, 0x6b5850\nMOV             X1, X19; char *                                        ; +0x28, 0x6b5854\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x2c, 0x6b5858\nSTRB            W0, [X20,#0x31C]                                       ; +0x30, 0x6b585c\nMOV             X0, X20; this                                          ; +0x34, 0x6b5860\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x6b5864\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x6b5868\nB               _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x40, 0x6b586c", "xrefs": ["<???> @ 0x9bbe0", "EditorUI::init @ 0x6bccb4", "<???> @ 0x122d4f0"], "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"}