//
// sub_10091F100 from 0x10091f100 to 0x10091f1f7 (247 bytes)
//
// 1 xrefs:
// > LevelBindingsLayer::settingsEntries @ 0x10091eef3
//
// 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:15 +0000
//
void __fastcall sub_10091F100(__int64 a1)
{
__int64 v2; // r14
char *v3; // rax
__int128 v4; // [rsp+8h] [rbp-48h] BYREF
void *__p; // [rsp+18h] [rbp-38h]
__int128 v6; // [rsp+20h] [rbp-30h] BYREF
void *v7; // [rsp+30h] [rbp-20h]
v2 = *(_QWORD *)(a1 + 1192);
sub_100378140(v2 + 8, *(_QWORD **)(v2 + 16));
*(_QWORD *)(v2 + 8) = v2 + 16;
*(_OWORD *)(v2 + 16) = 0;
*(_BYTE *)(v2 + 32) = 1;
sub_1009241C0(*(_QWORD *)(a1 + 1192), *(unsigned __int8 *)(a1 + 1200));
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1304LL))(a1);
v7 = operator new(0x1Au);
*(_QWORD *)&v6 = 27;
*((_QWORD *)&v6 + 1) = 23;
strcpy((char *)v7, "Global controls applied");
LOWORD(v4) = 0;
v3 = TextAlertPopup::create(&v6, 0x96u, &v4, 0.5, 0.60000002);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 100);
if ( (v4 & 1) != 0 )
operator delete(__p);
if ( (v6 & 1) != 0 )
operator delete(v7);
}