//
// sub_817A0 from 0x817a0 to 0x817d2 (50 bytes)
//
// 1 xrefs:
// > sub_81298 @ 0x81298
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:17 +0000
//
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;
}