//
// sub_912444 from 0x912444 to 0x9124f8 (180 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_912444(_BYTE *result)
{
int v1; // r10
int v2; // r9
int v3; // r12
int v4; // r3
int v5; // r2
int v6; // r1
int v7; // r11
char v8; // r5
char v9; // r4
v1 = (unsigned __int8)*(result - 25);
v2 = (unsigned __int8)*(result - 26);
v3 = (unsigned __int8)*(result - 30);
v4 = (unsigned __int8)*(result - 27);
v5 = (unsigned __int8)*(result - 28);
v6 = (unsigned __int8)*(result - 29);
v7 = 2 * v2 + v4;
LOBYTE(v4) = (unsigned int)(v4 + 2 * v5 + v6 + 2) >> 2;
v8 = (2 * (unsigned int)(unsigned __int8)*(result - 27) + v5 + v2 + 2) >> 2;
LOBYTE(v5) = (unsigned int)(v5 + 2 * v6 + v3 + 2) >> 2;
v9 = (unsigned int)(v7 + v1 + 2) >> 2;
LOBYTE(v6) = (v6 + 2 * v3 + (unsigned int)(unsigned __int8)*(result - 31) + 2) >> 2;
*result = (2 * (unsigned __int8)*(result - 31) + (unsigned __int8)*(result - 32) + v3 + 2) >> 2;
result[99] = (2 * v1 + v2 + v1 + 2) >> 2;
result[98] = v9;
result[67] = v9;
result[97] = v8;
result[66] = v8;
result[35] = v8;
result[32] = v6;
result[1] = v6;
result[96] = v4;
result[65] = v4;
result[34] = v4;
result[3] = v4;
result[64] = v5;
result[33] = v5;
result[2] = v5;
return result;
}