{"type": "func", "start": 8161736, "end": 8161804, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x7c89c8 to 0x7c8a0c (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xcd330\n// > EditorUI::init @ 0x7cfcf8\n// > <???> @ 0x1546058\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 12:54:09 +0000\n// \n\n__int64 __fastcall EditorUI::onStickyToggle(EditorUI *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n  GameManager *v5; // x0\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  v4 = (GameManager *)GameManager::toggleGameVariable(v3, \"0180\");\n  v5 = (GameManager *)GameManager::sharedState(v4);\n  *((_BYTE *)this + 868) = GameManager::getGameVariable(v5, \"0180\");\n  return EditorUI::updateButtons(this);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x7c89c8 to 0x7c8a0c (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xcd330\n; > EditorUI::init @ 0x7cfcf8\n; > <???> @ 0x1546058\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 12:54:09 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7c89c8\nMOV             X29, SP                                                ; +0x4, 0x7c89cc\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7c89d0\nADRP            X19, #a0180@PAGE; \"0180\"                               ; +0xc, 0x7c89d4\nMOV             X20, X0                                                ; +0x10, 0x7c89d8\nADD             X19, X19, #a0180@PAGEOFF; \"0180\"                       ; +0x14, 0x7c89dc\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x7c89e0\nMOV             X1, X19; char *                                        ; +0x1c, 0x7c89e4\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x20, 0x7c89e8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24, 0x7c89ec\nMOV             X1, X19; char *                                        ; +0x28, 0x7c89f0\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x2c, 0x7c89f4\nSTRB            W0, [X20,#0x364]                                       ; +0x30, 0x7c89f8\nMOV             X0, X20; this                                          ; +0x34, 0x7c89fc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x7c8a00\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x7c8a04\nB               _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x40, 0x7c8a08", "xrefs": ["<???> @ 0xcd330", "EditorUI::init @ 0x7cfcf8", "<???> @ 0x1546058"], "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"}