//
// sub_180108F50 from 0x180108f50 to 0x180108f77 (39 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801b07c8
//
// 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_180108F50(__int64 *a1, int a2, int a3)
{
__int64 v3; // r9
int v4; // edx
v3 = *a1;
v4 = a2 - 2;
if ( v4 )
{
if ( v4 == 1 )
{
*(_DWORD *)(v3 + 760) = a3;
return 0;
}
else
{
return 31;
}
}
else
{
*(_DWORD *)(v3 + 748) = a3;
return 0;
}
}