// // sub_10062C854 from 0x10062c854 to 0x10062c984 (304 bytes) // // 2 xrefs: // > sub_10062C984 @ 0x10062c9c0 // > sub_10062CA34 @ 0x10062ca68 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_10062C854(__int64 a1, _OWORD *a2, __int64 a3, __int64 a4) { __int64 v7; // x23 __int64 v8; // x10 unsigned int v9; // w8 unsigned int v10; // w9 int v11; // w11 int v12; // w12 int v13; // w13 int v14; // w13 __int64 result; // x0 unsigned __int64 v16; // [xsp+0h] [xbp-40h] BYREF v7 = 0; *(_OWORD *)(a4 + 16) = a2[1]; *(_OWORD *)a4 = *a2; do { v8 = 0; v9 = 0; v10 = 0; v11 = *(unsigned __int8 *)(a3 + v7); v12 = 1; do { if ( (v11 & v12) != 0 ) v13 = *(unsigned __int8 *)(a4 + v8) | (unsigned __int16)(*(unsigned __int8 *)(a4 + v8 + 1) << 8) | (*(unsigned __int8 *)(a4 + v8 + 2) << 16) & 0xFFFFFF | (*(unsigned __int8 *)(a4 + v8 + 3) << 24); else v13 = 0; v10 += v13; if ( (v11 & v12) != 0 ) v14 = 0; else v14 = *(unsigned __int8 *)(a4 + v8) | (unsigned __int16)(*(unsigned __int8 *)(a4 + v8 + 1) << 8) | (*(unsigned __int8 *)(a4 + v8 + 2) << 16) & 0xFFFFFF | (*(unsigned __int8 *)(a4 + v8 + 3) << 24); v9 += v14; v12 *= 2; v8 += 4; } while ( v8 != 32 ); v16 = __PAIR64__(v9, v10); sub_100626EF0(a1, a4); result = sub_100626D7C(a1, (__int64 *)&v16, (_BYTE *)a4, (_BYTE *)a4, 4); ++v7; } while ( v7 != 8 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source