//
// sub_10091EE00 from 0x10091ee00 to 0x10091ee5a (90 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:15 +0000
//
__int64 __fastcall sub_10091EE00(__int64 a1, __int64 a2, unsigned __int8 a3)
{
*(_QWORD *)(a1 + 1192) = a2;
*(_BYTE *)(a1 + 1200) = a3;
*(_QWORD *)(a1 + 1096) = a2;
*(_BYTE *)(a1 + 1104) = 0;
if ( !*(_QWORD *)(a2 + 24) )
{
sub_1009241C0(a2, a3);
*(_BYTE *)(a1 + 1201) = 1;
a2 = *(_QWORD *)(a1 + 1192);
}
*(_BYTE *)(a2 + 32) = 0;
return KeybindingsLayer::init(a1, 0);
}