//
// sub_7026D0 from 0x7026d0 to 0x702756 (134 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_BYTE *__fastcall sub_7026D0(_BYTE *result)
{
int v1; // r2
int v2; // r3
int v3; // lr
unsigned int v4; // r4
char v5; // r1
v1 = (unsigned __int8)*(result - 31);
v2 = (unsigned __int8)*(result - 30);
v3 = 2 * v2 + v1;
v4 = 2 * (unsigned __int8)*(result - 29) + v2 + (unsigned __int8)*(result - 28) + 2;
LOBYTE(v1) = (v1 + 2 * (unsigned __int8)*(result - 32) + (unsigned int)(unsigned __int8)*(result - 33) + 2) >> 2;
LOBYTE(v2) = (v2 + 2 * (unsigned __int8)*(result - 31) + (unsigned int)(unsigned __int8)*(result - 32) + 2) >> 2;
v5 = ((unsigned int)(unsigned __int8)*(result - 29) + v3 + 2) >> 2;
LOBYTE(v4) = v4 >> 2;
*result = v1;
result[32] = v1;
result[64] = v1;
result[96] = v1;
result[1] = v2;
result[33] = v2;
result[65] = v2;
result[97] = v2;
result[2] = v5;
result[34] = v5;
result[66] = v5;
result[98] = v5;
result[3] = v4;
result[35] = v4;
result[67] = v4;
result[99] = v4;
return result;
}