//
// sub_100455F00 from 0x100455f00 to 0x100455fb8 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x100966fb0
//
// 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
//
unsigned __int64 __fastcall sub_100455F00(unsigned __int8 *a1)
{
unsigned __int8 *v2; // x8
unsigned __int64 v3; // x19
int v4; // w9
int v5; // t1
unsigned __int64 v6; // x0
_BYTE *v7; // x8
unsigned __int64 v8; // x0
char *v10[2]; // [xsp+0h] [xbp-30h] BYREF
v10[0] = nullptr;
v10[1] = nullptr;
v2 = a1;
while ( 1 )
{
do
{
v3 = (unsigned __int64)v2;
v5 = *v2++;
v4 = v5;
}
while ( (byte_10076EDBD[v5] & 1) == 0 );
if ( !v4 )
break;
if ( v4 == 60 )
{
v6 = sub_100455900(v10, v3++);
do
{
v7 = (_BYTE *)v6;
if ( v6 <= (unsigned __int64)a1 )
break;
--v6;
}
while ( (byte_10076EDBD[(unsigned __int8)*(v7 - 1)] & 8) != 0 );
goto LABEL_12;
}
}
v8 = sub_100455900(v10, v3);
do
{
v7 = (_BYTE *)v8;
if ( v8 <= (unsigned __int64)a1 )
break;
--v8;
}
while ( (byte_10076EDBD[(unsigned __int8)*(v7 - 1)] & 8) != 0 );
LABEL_12:
*v7 = 0;
return v3;
}