//
// fmt::FormatInt::FormatInt from 0x180016ea0 to 0x180016ee4 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8680
//
// 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
//
// Alternative name is '??0FormatInt@fmt@@QEAA@H@Z'
fmt::FormatInt *__fastcall fmt::FormatInt::FormatInt(fmt::FormatInt *this, int a2)
{
char *v3; // rax
if ( a2 >= 0 )
{
*((_QWORD *)this + 3) = fmt::FormatInt::FormatDecimal(this, a2);
}
else
{
v3 = fmt::FormatInt::FormatDecimal(this, -(__int64)a2) - 1;
*((_QWORD *)this + 3) = v3;
*v3 = 45;
}
return this;
}