//
// sub_180044940 from 0x180044940 to 0x18004497d (61 bytes)
//
// 1 xrefs:
// > sub_180015B40 @ 0x180015c49
//
// 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_180044940(__int64 a1, unsigned int a2)
{
if ( a2 > 0x7E || **(_DWORD **)a1 != 9 )
return 0;
*(_DWORD *)(*(_QWORD *)(a1 + 8) + 4LL * (int)a2 + 832) = 1;
if ( a2 == 2 )
*(_QWORD *)(*(_QWORD *)(a1 + 8) + 1352LL) = 0;
return 1;
}