// // sub_CF3034 from 0xcf3034 to 0xcf30e8 (180 bytes) // // 8 xrefs: // > sub_CF61C4 @ 0xcf623c // > sub_CF61C4 @ 0xcf6284 // > sub_CF6F38 @ 0xcf6fb0 // > sub_CF6F38 @ 0xcf6ff8 // > sub_CF7810 @ 0xcf7888 // > sub_CF7810 @ 0xcf78d0 // > sub_CF8258 @ 0xcf82d0 // > sub_CF8258 @ 0xcf8318 // // 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_CF3034(const wchar_t *a1, __int64 a2) { __int64 v2; // x23 size_t v3; // x20 __int64 v5; // x0 __int64 v6; // x19 __int64 v7; // x22 v2 = a2 - (_QWORD)a1; v3 = (a2 - (__int64)a1) >> 2; v5 = sub_D1B424(v3, 0); v6 = v5; v7 = v5 + 24; if ( v3 == 1 ) { *(_DWORD *)(v5 + 24) = *a1; if ( (__int64 *)v5 == &qword_124B6D0 ) return v7; } else { wmemcpy((wchar_t *)(v5 + 24), a1, v3); if ( (__int64 *)v6 == &qword_124B6D0 ) return v7; } *(_DWORD *)(v6 + 16) = 0; *(_QWORD *)v6 = v3; *(_DWORD *)(v6 + v2 + 24) = 0; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source