{"type": "func", "start": 6442731632, "end": 6442731678, "name": "fmt::BasicStringRef<char>::size", "pseudocode": "// \n// fmt::BasicStringRef<char>::size from 0x180044870 to 0x18004489e (46 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall fmt::BasicStringRef<char>::size(_QWORD *a1)\n{\n  __int64 result; // rax\n\n  result = a1[1];\n  if ( !result && *a1 )\n  {\n    result = -1;\n    do\n      ++result;\n    while ( *(_BYTE *)(*a1 + result) );\n    a1[1] = result;\n  }\n  return result;\n}", "assembly": "; \n; fmt::BasicStringRef<char>::size from 0x180044870 to 0x18004489e (46 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     rax, [rcx+8]                                                   ; +0x0, 0x180044870\ntest    rax, rax                                                       ; +0x4, 0x180044874\njnz     short locret_18004489D                                         ; +0x7, 0x180044877\nmov     rdx, [rcx]                                                     ; +0x9, 0x180044879\ntest    rdx, rdx                                                       ; +0xc, 0x18004487c\njz      short locret_18004489D                                         ; +0xf, 0x18004487f\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x11, 0x180044881\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x18, 0x180044888\ninc     rax                                                            ; +0x20, 0x180044890\ncmp     byte ptr [rdx+rax], 0                                          ; +0x23, 0x180044893\njnz     short loc_180044890                                            ; +0x27, 0x180044897\nmov     [rcx+8], rax                                                   ; +0x29, 0x180044899\nretn                                                                   ; +0x2d, 0x18004489d", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}