//
// sub_100455250 from 0x100455250 to 0x1004552e4 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x100966f18
//
// 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 __int8 *__fastcall sub_100455250(unsigned __int8 *a1, unsigned __int8 a2)
{
int v3; // w20
unsigned __int8 *v4; // x8
int v5; // w9
int v6; // t1
_QWORD v8[2]; // [xsp+0h] [xbp-30h] BYREF
v3 = a2;
v8[0] = 0;
v8[1] = 0;
while ( 1 )
{
do
{
v4 = a1;
v6 = *a1++;
v5 = v6;
}
while ( (byte_10076EDBD[v6] & 2) == 0 );
if ( v5 == v3 )
break;
if ( v5 == 38 )
{
a1 = (unsigned __int8 *)sub_100455950(v4, v8);
}
else if ( !v5 )
{
return nullptr;
}
}
*(_BYTE *)sub_100455900(v8, v4) = 0;
return a1;
}