//
// sub_10095F760 from 0x10095f760 to 0x10095f7e8 (136 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:38:45 +0000
//
__int64 __fastcall sub_10095F760(_QWORD *a1)
{
__int64 v2; // rdi
__int64 v3; // rax
bool v4; // al
__int64 v5; // rdi
__int64 v6; // rax
const char *v7; // rsi
v2 = a1[138];
if ( v2 )
{
v3 = a1[131];
if ( v3 )
v4 = *(_DWORD *)(v3 + 1840) == 1;
else
v4 = 0;
CCMenuItemToggler::toggle(v2, v4);
}
v5 = a1[139];
if ( v5 )
{
v6 = a1[131];
if ( v6 )
{
v7 = "Edit Global Controls";
if ( *(_DWORD *)(v6 + 1840) == 1 )
v7 = "Edit Custom Controls";
}
else
{
v7 = "Edit Global Controls";
}
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v5 + 928LL))(v5, v7);
}
return sub_10095ED80((__int64)a1);
}