{"type": "func", "start": 6442724400, "end": 6442724466, "name": "fmt::BasicWriter<wchar_t>::GrowBuffer", "pseudocode": "// \n// fmt::BasicWriter<wchar_t>::GrowBuffer from 0x180042c30 to 0x180042c72 (66 bytes)\n// \n// 4 xrefs:\n// > fmt::BasicFormatter<wchar_t>::format @ 0x180043ccd\n// > fmt::BasicFormatter<wchar_t>::format @ 0x180043d8f\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1500\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::BasicWriter<wchar_t>::GrowBuffer(unsigned __int64 *a1, __int64 a2)\n{\n  unsigned __int64 v2; // rsi\n  unsigned __int64 v4; // rdi\n\n  v2 = *a1;\n  v4 = *a1 + a2;\n  if ( v4 > a1[1] )\n    sub_1800441F0(a1);\n  *a1 = v4;\n  return a1[2] + 2 * v2;\n}", "assembly": "; \n; fmt::BasicWriter<wchar_t>::GrowBuffer from 0x180042c30 to 0x180042c72 (66 bytes)\n; \n; 4 xrefs:\n; > fmt::BasicFormatter<wchar_t>::format @ 0x180043ccd\n; > fmt::BasicFormatter<wchar_t>::format @ 0x180043d8f\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1500\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     [rsp+arg_0], rbx                                               ; +0x0, 0x180042c30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180042c35\npush    rdi                                                            ; +0xa, 0x180042c3a\nsub     rsp, 20h                                                       ; +0xb, 0x180042c3b\nmov     rsi, [rcx]                                                     ; +0xf, 0x180042c3f\nmov     rbx, rcx                                                       ; +0x12, 0x180042c42\nlea     rdi, [rsi+rdx]                                                 ; +0x15, 0x180042c45\ncmp     rdi, [rcx+8]                                                   ; +0x19, 0x180042c49\njbe     short loc_180042C57                                            ; +0x1d, 0x180042c4d\nmov     rdx, rdi                                                       ; +0x1f, 0x180042c4f\ncall    sub_1800441F0                                                  ; +0x22, 0x180042c52\nmov     [rbx], rdi                                                     ; +0x27, 0x180042c57\nmov     rax, [rbx+10h]                                                 ; +0x2a, 0x180042c5a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2e, 0x180042c5e\nlea     rax, [rax+rsi*2]                                               ; +0x33, 0x180042c63\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x37, 0x180042c67\nadd     rsp, 20h                                                       ; +0x3c, 0x180042c6c\npop     rdi                                                            ; +0x40, 0x180042c70\nretn                                                                   ; +0x41, 0x180042c71", "xrefs": ["fmt::BasicFormatter<wchar_t>::format @ 0x180043ccd", "fmt::BasicFormatter<wchar_t>::format @ 0x180043d8f", "<???> @ 0x1801438a8", "<???> @ 0x1801b1500"], "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"}