//
// fmt::BasicStringRef::size from 0x180044c30 to 0x180044c61 (49 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb6f8
//
// 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:40 +0000
//
size_t __fastcall fmt::BasicStringRef::size(__int64 a1)
{
size_t result; // rax
const char *v3; // rcx
result = *(_QWORD *)(a1 + 8);
if ( !result )
{
v3 = *(const char **)a1;
if ( v3 )
{
result = strlen(v3);
*(_QWORD *)(a1 + 8) = result;
}
else
{
return 0;
}
}
return result;
}