//
// fmt::FormatInt::FormatSigned from 0x1800188d0 to 0x180018912 (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ae884
//
// 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
//
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;
}
}