//
// sub_702B60 from 0x702b60 to 0x702c30 (208 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_702B60(_BYTE *result)
{
int v1; // r2
int v2; // r1
int v3; // r4
int v4; // r12
int v5; // r3
int v6; // r6
int v7; // r9
int v8; // r8
int v9; // r7
int v10; // r4
int v11; // lr
int v12; // r10
int v13; // r7
int v14; // r3
unsigned int v15; // r12
unsigned int v16; // r1
unsigned int v17; // r3
char v18; // r5
v1 = (unsigned __int8)*(result - 33);
v2 = (unsigned __int8)*(result - 32);
v3 = (unsigned __int8)result[63];
v4 = (unsigned __int8)*(result - 1);
v5 = (unsigned __int8)result[31];
v6 = (unsigned __int8)result[95] + v3;
v7 = v4 + v1;
v8 = v5 + v4;
v9 = v6 + v3;
v10 = v3 + v5;
v11 = (unsigned __int8)*(result - 30) + 2 * (unsigned __int8)*(result - 31) + v2;
v12 = v5 + v4 + v4;
v13 = v9 + v5;
v14 = v5 + v10 + v4;
v15 = v2 + v4 + v1 + v1 + 2;
v16 = v14 + 2;
v17 = v10 + 1;
LOBYTE(v10) = (unsigned int)(v7 + 1) >> 1;
LOBYTE(v15) = v15 >> 2;
LOBYTE(v16) = v16 >> 2;
LOBYTE(v17) = v17 >> 1;
result[2] = (2 * (unsigned __int8)*(result - 32) + v1 + (unsigned __int8)*(result - 31) + 2) >> 2;
v18 = (unsigned int)(v1 + v12 + 2) >> 2;
result[34] = v10;
*result = v10;
LOBYTE(v10) = (unsigned int)(v8 + 1) >> 1;
result[96] = (v6 + 1) >> 1;
result[3] = (v11 + 2) >> 2;
result[35] = v15;
result[1] = v15;
result[97] = (v13 + 2) >> 2;
result[67] = v18;
result[33] = v18;
result[99] = v16;
result[65] = v16;
result[66] = v10;
result[32] = v10;
result[98] = v17;
result[64] = v17;
return result;
}