//
// sub_912290 from 0x912290 to 0x912316 (134 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:04:28 +0000
//
_BYTE *__fastcall sub_912290(_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;
}