// // sub_1008CFE20 from 0x1008cfe20 to 0x1008cfe9e (126 bytes) // // 1 xrefs: // > sub_1008CDF10 @ 0x1008cf5f9 // // 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:37:37 +0000 // std::string *__fastcall sub_1008CFE20(std::string *a1, __int64 a2) { __int64 v2; // rax int v3; // esi std::string *v4; // rax std::string v6; // [rsp+8h] [rbp-28h] BYREF v2 = *(_QWORD *)(a2 + 680); if ( v2 ) v3 = *(_DWORD *)(v2 + 328) - *(_DWORD *)(v2 + 332); else v3 = 0; GameToolbox::intToString((size_t *)&v6, v3); v4 = std::string::insert(&v6, 0, "dtdist_"); *a1 = *v4; *(_OWORD *)&v4->__r_.__value_.__l.0 = 0; v4->__r_.__value_.__r.__words[2] = 0; if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v6.__r_.__value_.__l.__data_); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source