// // sub_1006D7B6C from 0x1006d7b6c to 0x1006d7c20 (180 bytes) // // 1 xrefs: // > sub_1006D7668 @ 0x1006d7734 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 11:12:29 +0000 // _OWORD *__fastcall sub_1006D7B6C(_OWORD *result, unsigned __int64 *a2, int a3) { unsigned int v3; // w8 __int64 v4; // x10 int v5; // w11 __int64 v6; // x9 __int64 v7; // x10 _OWORD *v8; // x12 unsigned __int64 *v9; // x13 unsigned __int64 v10; // t1 if ( a3 >= 1 ) { v3 = a3 - 4; if ( (unsigned int)a3 < 4 ) goto LABEL_7; v4 = v3 >> 2; v5 = 4 * v4; v6 = 8 * v4 + 8; v7 = 4 * v4 + 4; v8 = result; v9 = a2; do { *v8 = *v9 * (unsigned __int128)*v9; v8[1] = v9[1] * (unsigned __int128)v9[1]; v8[2] = v9[2] * (unsigned __int128)v9[2]; v8[3] = v9[3] * (unsigned __int128)v9[3]; a3 -= 4; v9 += 4; v8 += 4; } while ( (unsigned int)a3 > 3 ); a3 = v3 - v5; if ( v3 != v5 ) { result = (_OWORD *)((char *)result + 8 * v6); a2 += v7; do { LABEL_7: v10 = *a2++; *result = v10 * (unsigned __int128)v10; --a3; ++result; } while ( a3 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source