// // sub_9227B4 from 0x9227b4 to 0x922852 (158 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_9227B4(_DWORD *result) { int v1; // lr int v2; // r2 int v3; // r10 _DWORD *v4; // r3 int v5; // r2 _DWORD *v6; // r1 int v7; // r11 _DWORD *v8; // r10 int v9; // r12 unsigned int v10; // t1 int v11; // r5 v1 = result[4] * -result[6]; v2 = result[17]; v3 = result[2] * result[13]; v4 = (_DWORD *)result[19]; if ( v1 ) { if ( v3 > 0 ) { v7 = result[20] - 4; v8 = &v4[v3]; v9 = v2 - 1; do { v10 = *(_DWORD *)(v7 + 4); v7 += 4; v11 = (v10 * (unsigned __int64)(unsigned int)v1 + 0x80000000) >> 32; *(_BYTE *)++v9 = ((unsigned int)result[5] * (unsigned __int64)(unsigned int)(*v4 - v11) + 0x80000000) >> 32; *v4++ = v11; } while ( v4 != v8 ); } } else if ( v3 > 0 ) { v5 = v2 - 1; v6 = &v4[v3]; do { *(_BYTE *)++v5 = ((unsigned int)result[5] * (unsigned __int64)(unsigned int)*v4 + 0x80000000) >> 32; *v4++ = 0; } while ( v4 != v6 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source