//
// sub_10026FE60 from 0x10026fe60 to 0x10026fee2 (130 bytes)
//
// 0 xrefs:
//
// 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:27:37 +0000
//
__int64 __fastcall sub_10026FE60(__int64 a1)
{
unsigned __int8 v1; // r15
void *v2; // r14
v1 = *(_BYTE *)(*(_QWORD *)(a1 + 680) + 616LL);
if ( v1 )
{
v2 = &unk_100A06ECA;
}
else
{
CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 688), 0);
v2 = &unk_100A06EC7;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 688) + 1056LL))(*(_QWORD *)(a1 + 688), v1);
sub_10001F080(*(_QWORD *)(a1 + 688), (__int64)v2);
return (*(__int64 (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 696) + 1072LL))(*(_QWORD *)(a1 + 696), v2);
}