{"type": "func", "start": 4744564, "end": 4744606, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x486574 to 0x48659e (42 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:25 +0000\n// \n\nint __fastcall EditorUI::onStickyToggle(EditorUI *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  GameManager *v4; // r0\n  GameManager *v5; // r0\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  v4 = (GameManager *)GameManager::toggleGameVariable(v3, \"0180\");\n  v5 = (GameManager *)GameManager::sharedState(v4);\n  *((_BYTE *)this + 644) = GameManager::getGameVariable(v5, \"0180\");\n  return EditorUI::updateButtons((cocos2d::CCArray **)this);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x486574 to 0x48659e (42 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:25 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x486574\nMOV             R4, R0                                                 ; +0x2, 0x486576\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x486578\nLDR             R5, =(a0180 - 0x486582); \"0180\"                        ; +0x8, 0x48657c\nADD             R5, PC; \"0180\"                                         ; +0xa, 0x48657e\nMOV             R1, R5; char *                                         ; +0xc, 0x486580\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xe, 0x486582\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x486586\nMOV             R1, R5; char *                                         ; +0x16, 0x48658a\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x18, 0x48658c\nSTRB.W          R0, [R4,#0x284]                                        ; +0x1c, 0x486590\nMOV             R0, R4; this                                           ; +0x20, 0x486594\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x486596\nB.W             _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x26, 0x48659a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}