// // sub_9225E0 from 0x9225e0 to 0x922678 (152 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:42 +0000 // _DWORD *__fastcall sub_9225E0(_DWORD *result, int a2) { int v2; // lr int v3; // r12 int v4; // r10 int v5; // r6 int v6; // r4 int v7; // r3 int v8; // r2 int v9; // r5 bool v10; // cc int v11; // r9 int v12; // r7 int v13; // r1 int v14; // r3 int v15; // r5 int v16; // r5 int v17; // [sp+4h] [bp-10h] v2 = result[2]; v3 = result[13] * v2; if ( v2 > 0 ) { v4 = result[2]; v5 = 0; v17 = a2 - 1; do { v6 = v5; v7 = result[11]; v8 = result[9]; v9 = *(unsigned __int8 *)(v17 + 1); v10 = v7 <= 1; v11 = v4; if ( v7 > 1 ) v7 = v17 + 1; ++v17; if ( v10 ) v12 = v9; else v12 = *(unsigned __int8 *)(v7 + v2); v13 = v4; v14 = result[9]; v15 = v9 - v12; while ( 1 ) { *(_DWORD *)(result[20] + v6) = v8 * v15 + v14 * v12; if ( v3 <= v13 ) break; v8 -= result[10]; if ( v8 < 0 ) { v11 += v2; v16 = v12; v14 = result[9]; v12 = *(unsigned __int8 *)(a2 + v11); v8 += v14; v15 = v16 - v12; } else { v14 = result[9]; } v13 += v2; v6 += 4 * v2; } ++v4; v5 += 4; } while ( v4 != 2 * v2 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source