// // sub_10046C78C from 0x10046c78c to 0x10046c850 (196 bytes) // // 1 xrefs: // > sub_10046C1E4 @ 0x10046c3ac // // 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 11:05:35 +0000 // char *__fastcall sub_10046C78C(char *__src, char *a2, char *a3) { char *v4; // x21 __int64 v6; // x22 signed __int64 v7; // x21 __int64 v8; // x22 size_t v9; // x2 v4 = a3; if ( __src != a2 ) { if ( a2 == a3 ) { return __src; } else if ( __src + 8 == a2 ) { v6 = *(_QWORD *)__src; v7 = a3 - a2; memmove(__src, __src + 8, a3 - a2); v4 = &__src[v7]; *(_QWORD *)v4 = v6; } else if ( a2 + 8 == a3 ) { v8 = *((_QWORD *)a3 - 1); v4 = __src + 8; v9 = a3 - 8 - __src; if ( a3 - 8 != __src ) memmove(__src + 8, __src, v9); *(_QWORD *)__src = v8; } else { return (char *)sub_10046C904(__src); } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source