//
// fmt::FormatInt::FormatSigned from 0x1800185b0 to 0x1800185f2 (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b88f0
//
// 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 11:21:25 +0000
//
void __fastcall fmt::FormatInt::FormatSigned(fmt::FormatInt *this, unsigned __int64 a2)
{
unsigned __int64 v4; // rdx
unsigned __int64 v5; // rbx
char *v7; // rax
char *v8; // rax
v4 = -(__int64)a2;
v5 = a2 >> 63;
if ( !(_BYTE)v5 )
v4 = a2;
v7 = fmt::FormatInt::FormatDecimal(this, v4);
*((_QWORD *)this + 3) = v7;
if ( (_BYTE)v5 )
{
v8 = v7 - 1;
*((_QWORD *)this + 3) = v8;
*v8 = 45;
}
}