//
// sub_DBDDC8 from 0xdbddc8 to 0xdbde60 (152 bytes)
//
// 1 xrefs:
// > sub_DD4FC4 @ 0xdd5620
//
// 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:46 +0000
//
unsigned __int64 __fastcall sub_DBDDC8(unsigned __int64 result)
{
_BYTE *v1; // x2
_BYTE *v2; // x5
int v3; // w1
__int64 v4; // x1
int v5; // t1
v1 = (_BYTE *)result;
v2 = (_BYTE *)result;
LABEL_2:
while ( 1 )
{
v3 = (unsigned __int8)*v1;
if ( !*v1 )
break;
while ( (byte_11AECC0[v3] & 8) != 0 )
{
v4 = (unsigned __int8)*++v1;
if ( (byte_11AECC0[v4] & 8) != 0 )
{
do
v5 = (unsigned __int8)*++v1;
while ( (byte_11AECC0[v5] & 8) != 0 );
}
if ( v2 == (_BYTE *)result )
goto LABEL_2;
*v2++ = 32;
v3 = (unsigned __int8)*v1;
if ( !*v1 )
goto LABEL_8;
}
*v2 = v3;
++v1;
++v2;
}
LABEL_8:
if ( (_BYTE *)result != v2 )
{
result = ((unsigned __int64)byte_11AECC0[(unsigned __int8)*(v2 - 1)] >> 3) & 1;
v2 -= result;
}
*v2 = 0;
return result;
}