//
// sub_100455FB8 from 0x100455fb8 to 0x10045608c (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x100966fb8
//
// 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:05:23 +0000
//
char *__fastcall sub_100455FB8(char *a1)
{
char *v1; // x19
char *v2; // x21
char *v3; // x20
int v4; // w8
int v5; // t1
unsigned __int64 v6; // x0
_BYTE *v7; // x8
unsigned __int64 v8; // x0
char *v10[2]; // [xsp+0h] [xbp-30h] BYREF
v1 = a1;
v10[0] = nullptr;
v10[1] = nullptr;
LABEL_2:
v2 = a1;
while ( 1 )
{
do
{
v3 = v2;
v5 = (unsigned __int8)*v2++;
v4 = v5;
}
while ( (byte_10076EDBD[v5] & 1) == 0 );
if ( v4 == 38 )
{
a1 = sub_100455950(v3, (__int64)v10);
goto LABEL_2;
}
if ( !v4 )
break;
if ( v4 == 60 )
{
v8 = sub_100455900(v10, (unsigned __int64)v3);
do
{
v7 = (_BYTE *)v8;
if ( v8 <= (unsigned __int64)v1 )
break;
--v8;
}
while ( (byte_10076EDBD[(unsigned __int8)*(v7 - 1)] & 8) != 0 );
v3 = v2;
goto LABEL_16;
}
}
v6 = sub_100455900(v10, (unsigned __int64)v3);
do
{
v7 = (_BYTE *)v6;
if ( v6 <= (unsigned __int64)v1 )
break;
--v6;
}
while ( (byte_10076EDBD[(unsigned __int8)*(v7 - 1)] & 8) != 0 );
LABEL_16:
*v7 = 0;
return v3;
}