//
// sub_DC0398 from 0xdc0398 to 0xdc03dc (68 bytes)
//
// 2 xrefs:
// > sub_DCBC04 @ 0xdcbf78
// > sub_DCBC04 @ 0xdcbecc
//
// 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:08:47 +0000
//
__int64 __fastcall sub_DC0398(__int64 a1)
{
__int64 result; // x0
_BYTE *v2; // x3
for ( result = a1 + 1; ; ++result )
{
v2 = (_BYTE *)(result - 1);
if ( (byte_11AECC0[*(unsigned __int8 *)(result - 1)] & 1) != 0 )
{
if ( *(_BYTE *)(result - 1) == 60 )
{
*v2 = 0;
return result;
}
if ( !*(_BYTE *)(result - 1) )
break;
}
}
*v2 = 0;
return --result;
}