//
// sub_EEA8A8 from 0xeea8a8 to 0xeea97c (212 bytes)
//
// 1 xrefs:
// > sub_EECF00 @ 0xeed0ac
//
// 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
//
_BYTE *__fastcall sub_EEA8A8(_BYTE *result)
{
int v1; // w6
int v2; // w4
int v3; // w3
int v4; // w1
int v5; // w2
int v6; // w5
int v7; // w8
int v8; // w10
int v9; // w9
int v10; // w7
v1 = (unsigned __int8)*(result - 30);
v2 = (unsigned __int8)*(result - 29);
v3 = (unsigned __int8)*(result - 28);
v4 = (unsigned __int8)*(result - 27);
v5 = (unsigned __int8)*(result - 26);
v6 = (unsigned __int8)*(result - 25);
v7 = (unsigned __int8)*(result - 31);
v8 = v3 + 2 * v4;
v9 = v5 + 2 * v6;
v10 = v4 + 2 * v5 + v6;
LOBYTE(v4) = (unsigned __int64)(unsigned int)(v2 + 2 * v3 + v4 + 2) >> 2;
LOBYTE(v3) = (unsigned __int64)(unsigned int)(v1 + 2 * v2 + v3 + 2) >> 2;
LOBYTE(v5) = (unsigned __int64)(unsigned int)(v8 + v5 + 2) >> 2;
LOBYTE(v2) = (unsigned __int64)(unsigned int)(v7 + 2 * v1 + v2 + 2) >> 2;
LOBYTE(v10) = (unsigned __int64)(unsigned int)(v10 + 2) >> 2;
*result = ((unsigned __int8)*(result - 32) + 2 * v7 + v1 + 2) >> 2;
result[32] = v2;
result[1] = v2;
result[64] = v3;
result[33] = v3;
result[2] = v3;
result[96] = v4;
result[65] = v4;
result[34] = v4;
result[3] = v4;
result[97] = v5;
result[66] = v5;
result[35] = v5;
result[98] = v10;
result[67] = v10;
result[99] = (v9 + v6 + 2) >> 2;
return result;
}