// // sub_910B04 from 0x910b04 to 0x910b7e (122 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:26 +0000 // unsigned __int8 *__fastcall sub_910B04(unsigned __int8 *result, int a2, int a3, int a4, int a5) { int v5; // lr unsigned __int8 *v6; // r4 int v7; // r7 unsigned __int8 *v8; // r7 int i; // r8 int v10; // r3 int v11; // r3 unsigned int v12; // r9 unsigned int v13; // r6 unsigned int v14; // r3 v5 = a4 - 1; if ( a4 > 0 ) { do { v6 = result + 1; v7 = 0; if ( !a2 ) { v6 = result; v7 = 3; } if ( a3 > 0 ) { v8 = &result[v7]; for ( i = 0; i != a3; ++i ) { v10 = v8[4 * i]; if ( v10 != 255 ) { v11 = 32897 * v10; v12 = *v6 * v11; v13 = v6[1] * v11; v14 = v6[2] * v11; *v6 = v12 >> 23; v6[1] = v13 >> 23; v6[2] = v14 >> 23; } v6 += 4; } } --v5; result += a5; } while ( v5 != -1 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source