// // sub_10005DCF0 from 0x10005dcf0 to 0x10005dd6f (127 bytes) // // 0 xrefs: // // 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 12:19:40 +0000 // void *__fastcall sub_10005DCF0(__int64 a1, const char *a2) { void *v3; // rdi size_t v4; // r15 char *v5; // r13 void *result; // rax if ( (*(_BYTE *)(a1 + 33) & 2) != 0 ) { v3 = *(void **)(a1 + 40); if ( v3 ) operator delete[](v3); } *(_DWORD *)(a1 + 32) = 0; *(_OWORD *)(a1 + 40) = 0; v4 = strlen(a2); v5 = (char *)operator new[](v4 + 1); *(_QWORD *)(a1 + 40) = v5; result = memcpy(v5, a2, v4 + 1); *(_QWORD *)(a1 + 48) = &v5[v4]; *(_DWORD *)(a1 + 32) = 512; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source