// // fmt::internal::FormatDecimal from 0x60bc00 to 0x60bc56 (86 bytes) // // 3 xrefs: // > fmt::BasicWriter::FormatInt @ 0x60c028 // > fmt::BasicWriter::FormatInt @ 0x60c570 // > fmt::internal::FormatSystemErrorMessage @ 0x60ca6e // // 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 // unsigned int __fastcall fmt::internal::FormatDecimal(unsigned int result, unsigned int a2, int a3) { int v3; // r6 _BYTE *v4; // r5 unsigned int v6; // r1 char v7; // r3 char v8; // r4 char *v9; // r2 v3 = result + a3; v4 = (_BYTE *)result; while ( a2 > 0x63 ) { v6 = a2 % 0x64; result = a2 / 0x64; a2 /= 0x64u; v7 = fmt::internal::DIGITS[2 * v6]; *(_BYTE *)(v3 - 1) = fmt::internal::DIGITS[2 * v6 + 1]; *(_BYTE *)(v3 - 2) = v7; v3 -= 2; } if ( a2 > 9 ) { v9 = &fmt::internal::DIGITS[2 * a2]; v8 = *v9; v4[1] = v9[1]; } else { v8 = a2 + 48; } *v4 = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source