{"type": "func", "start": 6442725920, "end": 6442725986, "name": "fmt::BasicWriter<wchar_t>::GrowBuffer", "pseudocode": "// \n// fmt::BasicWriter<wchar_t>::GrowBuffer from 0x180043220 to 0x180043262 (66 bytes)\n// \n// 4 xrefs:\n// > fmt::BasicFormatter<wchar_t>::format @ 0x1800442da\n// > fmt::BasicFormatter<wchar_t>::format @ 0x1800443d1\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb5fc\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:39 +0000\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_180044610(a1);\n  *a1 = v4;\n  return a1[2] + 2 * v2;\n}", "assembly": "; \n; fmt::BasicWriter<wchar_t>::GrowBuffer from 0x180043220 to 0x180043262 (66 bytes)\n; \n; 4 xrefs:\n; > fmt::BasicFormatter<wchar_t>::format @ 0x1800442da\n; > fmt::BasicFormatter<wchar_t>::format @ 0x1800443d1\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb5fc\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:39 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180043220\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180043225\npush    rdi                                                            ; +0xa, 0x18004322a\nsub     rsp, 20h                                                       ; +0xb, 0x18004322b\nmov     rsi, [rcx]                                                     ; +0xf, 0x18004322f\nmov     rbx, rcx                                                       ; +0x12, 0x180043232\nlea     rdi, [rsi+rdx]                                                 ; +0x15, 0x180043235\ncmp     rdi, [rcx+8]                                                   ; +0x19, 0x180043239\njbe     short loc_180043247                                            ; +0x1d, 0x18004323d\nmov     rdx, rdi                                                       ; +0x1f, 0x18004323f\ncall    sub_180044610                                                  ; +0x22, 0x180043242\nmov     [rbx], rdi                                                     ; +0x27, 0x180043247\nmov     rax, [rbx+10h]                                                 ; +0x2a, 0x18004324a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2e, 0x18004324e\nlea     rax, [rax+rsi*2]                                               ; +0x33, 0x180043253\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x37, 0x180043257\nadd     rsp, 20h                                                       ; +0x3c, 0x18004325c\npop     rdi                                                            ; +0x40, 0x180043260\nretn                                                                   ; +0x41, 0x180043261", "xrefs": ["fmt::BasicFormatter<wchar_t>::format @ 0x1800442da", "fmt::BasicFormatter<wchar_t>::format @ 0x1800443d1", "<???> @ 0x18014cf68", "<???> @ 0x1801bb5fc"], "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"}