//
// sub_1005ED214 from 0x1005ed214 to 0x1005ed254 (64 bytes)
//
// 0 xrefs:
//
// 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:09:46 +0000
//
char *__fastcall sub_1005ED214(char *result, int a2)
{
__int64 v2; // x8
int v4; // w8
v2 = 0;
while ( result[v2++] )
;
if ( (_DWORD)v2 == 1 )
return nullptr;
v4 = 1 - v2;
while ( *result != a2 )
{
++result;
if ( __CFADD__(v4++, 1) )
return nullptr;
}
return result;
}