//
// sub_EEB71C from 0xeeb71c to 0xeeb7ec (208 bytes)
//
// 2 xrefs:
// > sub_EEB7EC @ 0xeeb81c
// > sub_EECF00 @ 0xeed038
//
// 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:11:55 +0000
//
unsigned __int8 *__fastcall sub_EEB71C(unsigned __int8 *result, int a2, int a3)
{
int v3; // w2
int v4; // w6
int v5; // w7
int v6; // w5
__int64 v7; // x3
int v8; // w4
int v9; // w5
v3 = 2 * a3 + 1;
v4 = 16;
do
{
while ( 1 )
{
v5 = *(result - 1);
v6 = *result;
v7 = *(result - 2) - result[1];
if ( v3 >= byte_11E4BAF[v7] + 4 * byte_11E4BAF[v5 - v6] )
break;
--v4;
result += a2;
if ( !v4 )
return result;
}
--v4;
v8 = 3 * (v6 - v5) + byte_11E46AC[v7];
v9 = v6 - byte_11E4230[(v8 + 4) >> 3];
*(result - 1) = byte_11E3FBF[v5 + byte_11E4230[(v8 + 3) >> 3]];
*result = byte_11E3FBF[v9];
result += a2;
}
while ( v4 );
return result;
}