//
// sub_1005ED490 from 0x1005ed490 to 0x1005ed4c0 (48 bytes)
//
// 21 xrefs:
// > sub_1005D1420 @ 0x1005d1b18
// > sub_1005D1420 @ 0x1005d1b84
// > sub_1005D1420 @ 0x1005d1bac
// > sub_1005D1420 @ 0x1005d1bd4
// > sub_1005D1420 @ 0x1005d1bfc
// > sub_1005D1420 @ 0x1005d1c24
// > sub_1005D1420 @ 0x1005d1c4c
// > sub_1005D1420 @ 0x1005d1c74
// > sub_1005D1420 @ 0x1005d1c9c
// > sub_1005D1420 @ 0x1005d1cc4
// > sub_1005D1420 @ 0x1005d1dfc
// > sub_1005D1420 @ 0x1005d1e24
// > sub_1005D1420 @ 0x1005d1e4c
// > sub_1005D1420 @ 0x1005d1e74
// > sub_1005D1420 @ 0x1005d1e9c
// > sub_1005D1420 @ 0x1005d1ec4
// > sub_1005D1420 @ 0x1005d1eec
// > sub_1005D1420 @ 0x1005d1f14
// > sub_1005D1420 @ 0x1005d1f3c
// > sub_1005D1420 @ 0x1005d1f64
// > sub_1005D1420 @ 0x1005d1f8c
//
// 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 11:09:46 +0000
//
unsigned __int8 *__fastcall sub_1005ED490(unsigned __int8 *result)
{
unsigned int v1; // w10
bool v2; // cc
__int64 v3; // x10
while ( 1 )
{
v1 = *result;
v2 = v1 > 0x20;
v3 = (1LL << v1) & 0x100000600LL;
if ( v2 || v3 == 0 )
break;
++result;
}
return result;
}