//
// fmt::BasicStringRef::size from 0x180044870 to 0x18004489e (46 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
__int64 __fastcall fmt::BasicStringRef::size(_QWORD *a1)
{
__int64 result; // rax
result = a1[1];
if ( !result && *a1 )
{
result = -1;
do
++result;
while ( *(_BYTE *)(*a1 + result) );
a1[1] = result;
}
return result;
}