// // sub_EF396C from 0xef396c to 0xef3a0c (160 bytes) // // 1 xrefs: // > sub_EF5EA4 @ 0xef5fac // // 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 13:12:09 +0000 // __int64 __fastcall sub_EF396C(__int64 result, unsigned __int8 *a2) { __int64 v2; // x2 unsigned __int8 *v3; // x8 int v4; // w3 int v5; // w5 int v6; // w4 int v7; // w4 int v8; // w3 int v9; // w5 int v10; // w5 int v11; // w4 v2 = result; v3 = a2 + 256; LODWORD(result) = 0; do { v4 = *a2; v2 += 32; a2 += 32; v5 = *(unsigned __int8 *)(v2 - 31) - *(a2 - 31); v6 = *(unsigned __int8 *)(v2 - 30) - *(a2 - 30); v7 = result + (*(unsigned __int8 *)(v2 - 32) - v4) * (*(unsigned __int8 *)(v2 - 32) - v4) + v5 * v5 + v6 * v6; v8 = *(unsigned __int8 *)(v2 - 29) - *(a2 - 29); v9 = *(unsigned __int8 *)(v2 - 28) - *(a2 - 28); v10 = v7 + v8 * v8 + v9 * v9; v11 = *(unsigned __int8 *)(v2 - 27) - *(a2 - 27); result = v10 + v11 * v11 + (*(unsigned __int8 *)(v2 - 26) - *(a2 - 26)) * (*(unsigned __int8 *)(v2 - 26) - *(a2 - 26)) + (*(unsigned __int8 *)(v2 - 25) - *(a2 - 25)) * (*(unsigned __int8 *)(v2 - 25) - (unsigned int)*(a2 - 25)); } while ( a2 != v3 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source