{"type": "func", "start": 6442732592, "end": 6442732641, "name": "fmt::BasicStringRef<char>::size", "pseudocode": "// \n// fmt::BasicStringRef<char>::size from 0x180044c30 to 0x180044c61 (49 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb6f8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:40 +0000\n// \n\nsize_t __fastcall fmt::BasicStringRef<char>::size(__int64 a1)\n{\n  size_t result; // rax\n  const char *v3; // rcx\n\n  result = *(_QWORD *)(a1 + 8);\n  if ( !result )\n  {\n    v3 = *(const char **)a1;\n    if ( v3 )\n    {\n      result = strlen(v3);\n      *(_QWORD *)(a1 + 8) = result;\n    }\n    else\n    {\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; fmt::BasicStringRef<char>::size from 0x180044c30 to 0x180044c61 (49 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb6f8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:40 +0000\n; \npush    rbx                                                            ; +0x0, 0x180044c30\nsub     rsp, 20h                                                       ; +0x2, 0x180044c32\nmov     rax, [rcx+8]                                                   ; +0x6, 0x180044c36\nmov     rbx, rcx                                                       ; +0xa, 0x180044c3a\ntest    rax, rax                                                       ; +0xd, 0x180044c3d\njnz     short loc_180044C5B                                            ; +0x10, 0x180044c40\nmov     rcx, [rcx]; Str                                                ; +0x12, 0x180044c42\ntest    rcx, rcx                                                       ; +0x15, 0x180044c45\njz      short loc_180044C59                                            ; +0x18, 0x180044c48\ncall    strlen                                                         ; +0x1a, 0x180044c4a\nmov     [rbx+8], rax                                                   ; +0x1f, 0x180044c4f\nadd     rsp, 20h                                                       ; +0x23, 0x180044c53\npop     rbx                                                            ; +0x27, 0x180044c57\nretn                                                                   ; +0x28, 0x180044c58\nxor     eax, eax                                                       ; +0x29, 0x180044c59\nadd     rsp, 20h                                                       ; +0x2b, 0x180044c5b\npop     rbx                                                            ; +0x2f, 0x180044c5f\nretn                                                                   ; +0x30, 0x180044c60", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bb6f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}