//
// fmt::internal::CountDigits from 0x60b9c4 to 0x60b9ec (40 bytes)
//
// 5 xrefs:
// > fmt::BasicWriter::FormatInt @ 0x60c00a
// > fmt::BasicWriter::FormatInt @ 0x60c552
// > fmt::internal::FormatSystemErrorMessage @ 0x60ca16
// > fmt::BasicWriter::FormatInt @ 0x60dd58
// > fmt::BasicWriter::FormatInt @ 0x60e2ae
//
// 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
//
int __fastcall fmt::internal::CountDigits(unsigned int this, unsigned int a2)
{
int v2; // r3
v2 = (int)(1233 * (32 - __clz(this | 1))) >> 12;
if ( this >= fmt::internal::POWERS_OF_10_32[v2] )
return v2 + 1;
else
return v2;
}