{"type": "func", "start": 8149804, "end": 8150072, "name": "EditorUI::toggleEditObjectButton", "pseudocode": "// \n// EditorUI::toggleEditObjectButton from 0x7c5b2c to 0x7c5c38 (268 bytes)\n// \n// 3 xrefs:\n// > EditorUI::updateButtons @ 0x7c8094\n// > EditorUI::deselectObject @ 0xbdc578\n// > <???> @ 0x693b8\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:08 +0000\n// \n\n__int64 __fastcall EditorUI::toggleEditObjectButton(EditorUI *this)\n{\n  char v2; // w0\n  void (*v3)(void); // x2\n\n  *(_BYTE *)(*((_QWORD *)this + 136) + 408LL) = EditorUI::editButtonUsable(this);\n  (*(void (**)(void))(**((_QWORD **)this + 136) + 960LL))();\n  (*(void (**)(void))(**((_QWORD **)this + 136) + 912LL))();\n  v2 = EditorUI::editButton2Usable(this);\n  *(_BYTE *)(*((_QWORD *)this + 139) + 408LL) = v2;\n  v3 = *(void (**)(void))(**((_QWORD **)this + 139) + 960LL);\n  if ( v2 )\n  {\n    v3();\n    (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 139) + 912LL))(*((_QWORD *)this + 139), 255);\n  }\n  else\n  {\n    v3();\n    (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 139) + 912LL))(*((_QWORD *)this + 139), 175);\n  }\n  return EditorUI::updateEditColorButton(this);\n}", "assembly": "; \n; EditorUI::toggleEditObjectButton from 0x7c5b2c to 0x7c5c38 (268 bytes)\n; \n; 3 xrefs:\n; > EditorUI::updateButtons @ 0x7c8094\n; > EditorUI::deselectObject @ 0xbdc578\n; > <???> @ 0x693b8\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:08 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7c5b2c\nMOV             X29, SP                                                ; +0x4, 0x7c5b30\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x7c5b34\nMOV             X19, X0                                                ; +0xc, 0x7c5b38\nBL              _ZN8EditorUI16editButtonUsableEv; EditorUI::editButtonUsable(void) ; +0x10, 0x7c5b3c\nUXTB            W1, W0                                                 ; +0x14, 0x7c5b40\nLDR             X2, [X19,#0x440]                                       ; +0x18, 0x7c5b44\nSTRB            W0, [X2,#0x198]                                        ; +0x1c, 0x7c5b48\nLDR             X0, [X19,#0x440]                                       ; +0x20, 0x7c5b4c\nLDR             X2, [X0]                                               ; +0x24, 0x7c5b50\nLDR             X2, [X2,#0x3C0]                                        ; +0x28, 0x7c5b54\nCBZ             W1, loc_7C5BD8                                         ; +0x2c, 0x7c5b58\nADRL            X1, qword_1142200                                      ; +0x30, 0x7c5b5c\nBLR             X2                                                     ; +0x38, 0x7c5b64\nLDR             X2, [X19,#0x440]                                       ; +0x3c, 0x7c5b68\nMOV             W1, #0xFF                                              ; +0x40, 0x7c5b6c\nMOV             X0, X2                                                 ; +0x44, 0x7c5b70\nLDR             X2, [X2]                                               ; +0x48, 0x7c5b74\nLDR             X2, [X2,#0x390]                                        ; +0x4c, 0x7c5b78\nBLR             X2                                                     ; +0x50, 0x7c5b7c\nMOV             X0, X19; this                                          ; +0x54, 0x7c5b80\nBL              _ZN8EditorUI17editButton2UsableEv; EditorUI::editButton2Usable(void) ; +0x58, 0x7c5b84\nUXTB            W1, W0                                                 ; +0x5c, 0x7c5b88\nLDR             X2, [X19,#0x458]                                       ; +0x60, 0x7c5b8c\nSTRB            W0, [X2,#0x198]                                        ; +0x64, 0x7c5b90\nLDR             X0, [X19,#0x458]                                       ; +0x68, 0x7c5b94\nLDR             X2, [X0]                                               ; +0x6c, 0x7c5b98\nLDR             X2, [X2,#0x3C0]                                        ; +0x70, 0x7c5b9c\nCBZ             W1, loc_7C5C00                                         ; +0x74, 0x7c5ba0\nADRL            X1, qword_1142200                                      ; +0x78, 0x7c5ba4\nBLR             X2                                                     ; +0x80, 0x7c5bac\nLDR             X2, [X19,#0x458]                                       ; +0x84, 0x7c5bb0\nMOV             W1, #0xFF                                              ; +0x88, 0x7c5bb4\nMOV             X0, X2                                                 ; +0x8c, 0x7c5bb8\nLDR             X2, [X2]                                               ; +0x90, 0x7c5bbc\nLDR             X2, [X2,#0x390]                                        ; +0x94, 0x7c5bc0\nBLR             X2                                                     ; +0x98, 0x7c5bc4\nMOV             X0, X19; this                                          ; +0x9c, 0x7c5bc8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0xa0, 0x7c5bcc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0xa4, 0x7c5bd0\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0xa8, 0x7c5bd4\nADRL            X1, word_1142210                                       ; +0xac, 0x7c5bd8\nADD             X1, X1, #(qword_1142270 - 0x1142210)                   ; +0xb4, 0x7c5be0\nBLR             X2                                                     ; +0xb8, 0x7c5be4\nLDR             X2, [X19,#0x440]                                       ; +0xbc, 0x7c5be8\nMOV             W1, #0xAF                                              ; +0xc0, 0x7c5bec\nMOV             X0, X2                                                 ; +0xc4, 0x7c5bf0\nLDR             X2, [X2]                                               ; +0xc8, 0x7c5bf4\nLDR             X2, [X2,#0x390]                                        ; +0xcc, 0x7c5bf8\nB               loc_7C5B7C                                             ; +0xd0, 0x7c5bfc\nADRL            X1, word_1142210                                       ; +0xd4, 0x7c5c00\nADD             X1, X1, #(qword_1142270 - 0x1142210)                   ; +0xdc, 0x7c5c08\nBLR             X2                                                     ; +0xe0, 0x7c5c0c\nLDR             X2, [X19,#0x458]                                       ; +0xe4, 0x7c5c10\nMOV             W1, #0xAF                                              ; +0xe8, 0x7c5c14\nMOV             X0, X2                                                 ; +0xec, 0x7c5c18\nLDR             X2, [X2]                                               ; +0xf0, 0x7c5c1c\nLDR             X2, [X2,#0x390]                                        ; +0xf4, 0x7c5c20\nBLR             X2                                                     ; +0xf8, 0x7c5c24\nMOV             X0, X19; this                                          ; +0xfc, 0x7c5c28\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x100, 0x7c5c2c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x104, 0x7c5c30\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x108, 0x7c5c34", "xrefs": ["EditorUI::updateButtons @ 0x7c8094", "EditorUI::deselectObject @ 0xbdc578", "<???> @ 0x693b8"], "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"}