//
// sub_1800EC620 from 0x1800ec620 to 0x1800ec669 (73 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801afef8
//
// 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 10:54:19 +0000
//
__int64 __fastcall sub_1800EC620(__int64 *a1, int a2, int a3)
{
__int64 v3; // rax
v3 = *a1;
if ( a2 )
return 31;
if ( a3 == -3 )
{
*(_BYTE *)(v3 + 3561) = 1;
return 0;
}
else if ( a3 == -2 )
{
*(_BYTE *)(v3 + 3562) = 1;
return 0;
}
else
{
if ( a3 == -1 )
*(_WORD *)(v3 + 3561) = 257;
else
*(_DWORD *)(v3 + 3692) = a3;
return 0;
}
}