// // sub_10015D6E8 from 0x10015d6e8 to 0x10015d7b8 (208 bytes) // // 3 xrefs: // > sub_10015AE9C @ 0x10015aedc // > sub_10015D7B8 @ 0x10015d830 // > sub_10015D7B8 @ 0x10015d840 // // 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 // void *__fastcall sub_10015D6E8(__int64 a1, char *__src, unsigned int a3) { __int64 v6; // x24 unsigned int v7; // w22 unsigned int v8; // w23 v6 = ((unsigned int)*(_QWORD *)(a1 + 32) >> 3) & 0x3F; *(_OWORD *)(a1 + 32) += __PAIR128__((unsigned __int64)a3 >> 29, 8 * (unsigned __int64)a3); v7 = 64 - v6; if ( 64 - (int)v6 <= a3 ) { memcpy((void *)(a1 + 48 + (unsigned int)v6), __src, (unsigned int)(64 - v6)); sub_10015D908(a1, a1 + 48); v8 = v6 ^ 0x7F; if ( ((unsigned int)v6 ^ 0x7F) >= a3 ) { v6 = 0; } else { do { sub_10015D908(a1, &__src[v8 - 63]); v8 += 64; } while ( v8 < a3 ); v6 = 0; v7 = v8 - 63; } } else { v7 = 0; } return memcpy((void *)(a1 + v6 + 48), &__src[v7], a3 - v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source