// // EditorUI::toggleEditObjectButton from 0x10000be90 to 0x10000bf57 (199 bytes) // // 4 xrefs: // > EditorUI::deselectAll @ 0x1005b8923 // > sub_1005B93C0 @ 0x1005b93f2 // > EditorUI::deselectObject @ 0x1005b9474 // > sub_1005B94E0 @ 0x1005b95bc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:18:50 +0000 // __int64 __fastcall EditorUI::toggleEditObjectButton(__int64 a1) { char v2; // al _BYTE *v3; // rdi void *v4; // r14 void *v5; // rsi unsigned int v6; // r15d unsigned int v7; // r12d char v8; // al _BYTE *v9; // rdi v2 = EditorUI::editButtonUsable(a1); v3 = *(_BYTE **)(a1 + 1088); v3[408] = v2; v4 = &unk_100A038D3; v5 = &unk_100A038D3; if ( v2 ) v5 = &unk_100A038D0; v6 = 175; v7 = 175; if ( v2 ) v7 = 255; (*(void (__fastcall **)(_BYTE *, void *))(*(_QWORD *)v3 + 960LL))(v3, v5); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1088) + 912LL))(*(_QWORD *)(a1 + 1088), v7); v8 = EditorUI::editButton2Usable(a1); v9 = *(_BYTE **)(a1 + 1112); v9[408] = v8; if ( v8 ) { v4 = &unk_100A038D0; v6 = 255; } (*(void (__fastcall **)(_BYTE *, void *))(*(_QWORD *)v9 + 960LL))(v9, v4); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1112) + 912LL))(*(_QWORD *)(a1 + 1112), v6); return EditorUI::updateEditColorButton(a1); }