// // fmt::BasicWriter::c_str from 0x1800191f0 to 0x180019279 (137 bytes) // // 4 xrefs: // > @ 0x18013396c // > @ 0x18013397c // > @ 0x1801438a8 // > @ 0x1801ae92c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall fmt::BasicWriter::c_str(__int64 a1) { size_t v1; // rsi size_t v3; // rdx size_t v4; // rcx size_t v5; // rdx void *v6; // rbp void *v7; // rcx v1 = *(_QWORD *)a1; v3 = *(_QWORD *)(a1 + 8); v4 = *(_QWORD *)a1 + 1LL; if ( v4 > v3 ) { v5 = (v3 >> 1) + v3; if ( v4 < v5 ) v4 = v5; *(_QWORD *)(a1 + 8) = v4; v6 = operator new(v4); memmove(v6, *(const void **)(a1 + 16), *(_QWORD *)a1); v7 = *(void **)(a1 + 16); if ( v7 != (void *)(a1 + 24) ) j_j_free_0(v7); *(_QWORD *)(a1 + 16) = v6; } *(_BYTE *)(v1 + *(_QWORD *)(a1 + 16)) = 0; return *(_QWORD *)(a1 + 16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source