//
// sub_180069FB0 from 0x180069fb0 to 0x18006a01e (110 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801acbe8
//
// 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_180069FB0(__int64 *a1, int a2, int a3)
{
__int64 v3; // r9
v3 = *a1;
if ( a2 )
{
if ( a2 == 1 )
{
*(_DWORD *)(v3 + 34008) = a3;
return 0;
}
return 31;
}
if ( a3 != 128 && a3 != 256 && a3 != 512 && a3 != 1024 && a3 != 2048 && a3 != 4096 && a3 != 0x2000 && a3 != 0x4000 )
return 31;
*(_DWORD *)(v3 + 34004) = a3;
return 0;
}