// // sub_1007287D0 from 0x1007287d0 to 0x100728896 (198 bytes) // // 1 xrefs: // > @ 0x100b99c58 // // 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:36:17 +0000 // void __fastcall sub_1007287D0(__int64 a1, const void *a2, size_t a3) { char *v4; // r15 size_t v5; // r12 const std::string::value_type *v6; // rsi std::string::size_type v7; // rdx size_t __dst; // [rsp+8h] [rbp-38h] BYREF size_t v9; // [rsp+10h] [rbp-30h] void *__p; // [rsp+18h] [rbp-28h] if ( a3 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); if ( a3 >= 0x17 ) { v5 = 26; if ( (a3 | 7) != 0x17 ) v5 = (a3 | 7) + 1; v4 = (char *)operator new(v5); __p = v4; __dst = v5 + 1; v9 = a3; goto LABEL_8; } LOBYTE(__dst) = 2 * a3; v4 = (char *)&__dst + 1; if ( a3 ) LABEL_8: memcpy(v4, a2, a3); v4[a3] = 0; if ( (__dst & 1) != 0 ) { v6 = (const std::string::value_type *)__p; v7 = v9; } else { v6 = (char *)&__dst + 1; v7 = (unsigned __int8)__dst >> 1; } std::string::append((std::string *)(a1 + 8), v6, v7); if ( (__dst & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source