// // fmt::FormatInt::FormatDecimal from 0x180018500 to 0x1800185ad (173 bytes) // // 10 xrefs: // > fmt::FormatInt::FormatInt @ 0x180016eba // > fmt::FormatInt::FormatInt @ 0x180016ed2 // > fmt::FormatInt::FormatInt @ 0x180016efb // > fmt::FormatInt::FormatInt @ 0x180016f30 // > fmt::FormatInt::FormatInt @ 0x180016f69 // > fmt::FormatInt::FormatSigned @ 0x1800185d0 // > @ 0x18013c900 // > @ 0x18013c910 // > @ 0x18014cf68 // > @ 0x1801b88cc // // 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 // char *__fastcall fmt::FormatInt::FormatDecimal(fmt::FormatInt *this, unsigned __int64 a2) { _BYTE *v2; // r10 unsigned __int64 i; // r8 __int64 v4; // rcx __int64 v6; // r8 v2 = (char *)this + 21; for ( i = a2; i >= 0x64; *v2 = a00010203040506[v4] ) { v4 = 2 * (unsigned int)(i % 0x64); i /= 0x64u; *(v2 - 1) = a00010203040506[(unsigned int)(v4 + 1)]; v2 -= 2; } if ( i >= 0xA ) { v6 = (unsigned int)(2 * i); *(v2 - 1) = a00010203040506[(unsigned int)(v6 + 1)]; *(v2 - 2) = a00010203040506[v6]; return v2 - 2; } else { *(v2 - 1) = i + 48; return v2 - 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source