//
// sub_100605D54 from 0x100605d54 to 0x100605d74 (32 bytes)
//
// 2 xrefs:
// > sub_100601E40 @ 0x100601e44
// > sub_1006040F8 @ 0x1006040fc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100605D54(__int64 a1, __int64 a2)
{
__int64 v2; // x8
v2 = *(_QWORD *)(a1 + 24) | a2;
if ( (a2 & 0x780) != 0 )
v2 |= 0x80uLL;
*(_QWORD *)(a1 + 24) = v2;
return 1;
}