//
// sub_58478 from 0x58478 to 0x5848c (20 bytes)
//
// 12 xrefs:
// > sub_58398 @ 0x58426
// > sub_5B0B8 @ 0x5b1d0
// > sub_5DC12 @ 0x5dc32
// > sub_9A608 @ 0x9a62a
// > sub_9A608 @ 0x9a6c4
// > sub_9DE44 @ 0x9de7c
// > sub_9E338 @ 0x9e3b6
// > sub_A6A2C @ 0xa6a54
// > sub_A7620 @ 0xa7636
// > sub_A8916 @ 0xa8928
// > sub_B3BF8 @ 0xb3c60
// > sub_C1358 @ 0xc13fc
//
// 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_58478(int a1)
{
unsigned int v1; // r0
v1 = a1 - 1;
if ( v1 <= 0xB )
return dword_228F0[v1];
else
return 1;
}