//
// sub_1800B81A0 from 0x1800b81a0 to 0x1800b81b6 (22 bytes)
//
// 4 xrefs:
// > sub_1800D7EC0 @ 0x1800d8a64
// > sub_1800D7EC0 @ 0x1800d8a72
// > sub_1800D7EC0 @ 0x1800d8a80
// > sub_1800D7EC0 @ 0x1800d8a8e
//
// 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:53:59 +0000
//
__int64 __fastcall sub_1800B81A0(unsigned __int8 a1)
{
__int64 result; // rax
result = (unsigned __int8)(a1 + 32);
if ( (unsigned __int8)(a1 - 65) > 0x19u )
return a1;
return result;
}