// // sub_140358C20 from 0x140358c20 to 0x140358cbe (158 bytes) // // 6 xrefs: // > sub_140355770 @ 0x140355860 // > sub_1405028C0 @ 0x14050296c // > sub_1405028C0 @ 0x1405029cb // > @ 0x1408b9774 // > @ 0x1408b9784 // > @ 0x140920af8 // // This function is hookable on this platform (idp: pc, 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:30:50 +0000 // _DWORD *__fastcall sub_140358C20(_DWORD *a1, unsigned __int64 a2, _DWORD *a3) { _DWORD *v3; // rdi __int64 v4; // rbx unsigned __int64 v6; // r9 v3 = a1; if ( *a3 == _mm_cvtsi128_si32((__m128i)0LL) ) { v4 = a2; memset(a1, 0, 4 * a2); return &v3[v4]; } else { if ( a2 >= 4 ) { v6 = ((a2 - 4) >> 2) + 1; a2 += -4LL * v6; do { *v3 = *a3; v3[1] = *a3; v3[2] = *a3; v3[3] = *a3; v3 += 4; --v6; } while ( v6 ); } for ( ; a2; --a2 ) *v3++ = *a3; return v3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source