//
// sub_817A0 from 0x817a0 to 0x817d2 (50 bytes)
//
// 1 xrefs:
// > sub_81298 @ 0x81298
//
// 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
//
int __fastcall sub_817A0(int a1, int a2, int a3)
{
int v5; // r0
v5 = sub_CE994();
if ( v5 > -1 )
return 0;
if ( v5 == -139 )
return 38;
if ( !a3 && !*(_QWORD *)(a1 + 304) )
return 0;
return 14;
}