//
// sub_1108B24 from 0x1108b24 to 0x1108b84 (96 bytes)
//
// 4 xrefs:
// > sub_1108EC0 @ 0x1108fb8
// > sub_1109030 @ 0x110936c
// > sub_11094EC @ 0x11095d0
// > sub_110964C @ 0x1109708
//
// This function is hookable on this platform (idp: arm, 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 13:18:30 +0000
//
__int64 __fastcall sub_1108B24(unsigned __int8 a1)
{
__int64 result; // x0
if ( a1 == 255 )
return 0;
switch ( a1 & 7 )
{
case 0:
case 4:
result = 8;
break;
case 2:
result = 2;
break;
case 3:
result = 4;
break;
default:
abort();
return result;
}
return result;
}