{"type": "func", "start": 4722888, "end": 4723024, "name": "EditorUI::updateStickyControls", "pseudocode": "// \n// EditorUI::updateStickyControls from 0x4810c8 to 0x481150 (136 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::updateOptions @ 0x45fc8a\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:22 +0000\n// \n\nint __fastcall EditorUI::updateStickyControls(EditorUI *this)\n{\n  GameManager *v2; // r0\n  GameManager *GameVariable; // r0\n  GameManager *v4; // r0\n  char v5; // r0\n  int v6; // r1\n\n  v2 = (GameManager *)GameManager::sharedState(this);\n  GameVariable = (GameManager *)GameManager::getGameVariable(v2, \"0097\");\n  *((_BYTE *)this + 643) = (_BYTE)GameVariable;\n  v4 = (GameManager *)GameManager::sharedState(GameVariable);\n  v5 = GameManager::getGameVariable(v4, \"0180\");\n  v6 = *((unsigned __int8 *)this + 643);\n  *((_BYTE *)this + 644) = v5;\n  (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 188) + 528))(*((_DWORD *)this + 188), v6);\n  (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 188) + 172))(\n    *((_DWORD *)this + 188),\n    *((unsigned __int8 *)this + 643));\n  (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 186) + 528))(\n    *((_DWORD *)this + 186),\n    *((unsigned __int8 *)this + 643));\n  (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 186) + 172))(\n    *((_DWORD *)this + 186),\n    *((unsigned __int8 *)this + 643));\n  (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 187) + 528))(\n    *((_DWORD *)this + 187),\n    *((unsigned __int8 *)this + 643));\n  return (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 187) + 172))(\n           *((_DWORD *)this + 187),\n           *((unsigned __int8 *)this + 643));\n}", "assembly": "; \n; EditorUI::updateStickyControls from 0x4810c8 to 0x481150 (136 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::updateOptions @ 0x45fc8a\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:22 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4810c8\nMOV             R4, R0                                                 ; +0x2, 0x4810ca\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x4810cc\nLDR             R1, =(a0097 - 0x4810D6); \"0097\"                        ; +0x8, 0x4810d0\nADD             R1, PC; \"0097\"                                         ; +0xa, 0x4810d2\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0xc, 0x4810d4\nSTRB.W          R0, [R4,#0x283]                                        ; +0x10, 0x4810d8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x4810dc\nLDR             R1, =(a0180 - 0x4810E6); \"0180\"                        ; +0x18, 0x4810e0\nADD             R1, PC; \"0180\"                                         ; +0x1a, 0x4810e2\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x4810e4\nLDRB.W          R1, [R4,#0x283]                                        ; +0x20, 0x4810e8\nSTRB.W          R0, [R4,#0x284]                                        ; +0x24, 0x4810ec\nLDR.W           R0, [R4,#0x2F0]                                        ; +0x28, 0x4810f0\nLDR             R3, [R0]                                               ; +0x2c, 0x4810f4\nLDR.W           R3, [R3,#0x210]                                        ; +0x2e, 0x4810f6\nBLX             R3                                                     ; +0x32, 0x4810fa\nLDR.W           R0, [R4,#0x2F0]                                        ; +0x34, 0x4810fc\nLDRB.W          R1, [R4,#0x283]                                        ; +0x38, 0x481100\nLDR             R3, [R0]                                               ; +0x3c, 0x481104\nLDR.W           R3, [R3,#0xAC]                                         ; +0x3e, 0x481106\nBLX             R3                                                     ; +0x42, 0x48110a\nLDR.W           R0, [R4,#0x2E8]                                        ; +0x44, 0x48110c\nLDRB.W          R1, [R4,#0x283]                                        ; +0x48, 0x481110\nLDR             R3, [R0]                                               ; +0x4c, 0x481114\nLDR.W           R3, [R3,#0x210]                                        ; +0x4e, 0x481116\nBLX             R3                                                     ; +0x52, 0x48111a\nLDR.W           R0, [R4,#0x2E8]                                        ; +0x54, 0x48111c\nLDRB.W          R1, [R4,#0x283]                                        ; +0x58, 0x481120\nLDR             R3, [R0]                                               ; +0x5c, 0x481124\nLDR.W           R3, [R3,#0xAC]                                         ; +0x5e, 0x481126\nBLX             R3                                                     ; +0x62, 0x48112a\nLDR.W           R0, [R4,#0x2EC]                                        ; +0x64, 0x48112c\nLDRB.W          R1, [R4,#0x283]                                        ; +0x68, 0x481130\nLDR             R3, [R0]                                               ; +0x6c, 0x481134\nLDR.W           R3, [R3,#0x210]                                        ; +0x6e, 0x481136\nBLX             R3                                                     ; +0x72, 0x48113a\nLDR.W           R0, [R4,#0x2EC]                                        ; +0x74, 0x48113c\nLDRB.W          R1, [R4,#0x283]                                        ; +0x78, 0x481140\nPOP.W           {R4,LR}                                                ; +0x7c, 0x481144\nLDR             R3, [R0]                                               ; +0x80, 0x481148\nLDR.W           R3, [R3,#0xAC]                                         ; +0x82, 0x48114a\nBX              R3                                                     ; +0x86, 0x48114e", "xrefs": ["LevelEditorLayer::updateOptions @ 0x45fc8a"], "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"}