// // sub_10005AA90 from 0x10005aa90 to 0x10005ab14 (132 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:39 +0000 // void *__fastcall sub_10005AA90(__int64 a1, const char *a2, int a3) { void *v5; // rdi size_t v6; // r12 char *v7; // r15 void *result; // rax if ( (*(_BYTE *)(a1 + 1) & 2) != 0 ) { v5 = *(void **)(a1 + 8); if ( v5 ) operator delete[](v5); } *(_DWORD *)a1 = 0; *(_OWORD *)(a1 + 8) = 0; v6 = strlen(a2); v7 = (char *)operator new[](v6 + 1); *(_QWORD *)(a1 + 8) = v7; result = memcpy(v7, a2, v6 + 1); *(_QWORD *)(a1 + 16) = &v7[v6]; *(_DWORD *)a1 = a3 | 0x200; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source