//
// sub_1000BD690 from 0x1000bd690 to 0x1000bd6e1 (81 bytes)
//
// 1 xrefs:
// > EditorUI::toggleViewOption @ 0x10063e95e
//
// 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:20:32 +0000
//
unsigned __int8 __fastcall sub_1000BD690(__int64 a1)
{
unsigned __int8 result; // al
__int64 v3; // rdi
__int64 v4; // rdi
result = byte_100BDE830 ^ 1;
byte_100BDE830 ^= 1u;
v3 = *(_QWORD *)(a1 + 1944);
if ( v3 )
result = sub_1008C1A90(v3, result);
v4 = *(_QWORD *)(a1 + 1952);
if ( v4 )
return sub_1008C1A90(v4, (unsigned __int8)byte_100BDE830);
return result;
}