// // fmt::internal::Array::grow from 0x60d8cc to 0x60d912 (70 bytes) // // 3 xrefs: // > fmt::internal::Array::reserve @ 0x60d918 // > fmt::BasicWriter::GrowBuffer @ 0x60d92e // > fmt::internal::Array::append @ 0x60e70e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall fmt::internal::Array::grow(int a1, unsigned int a2) { unsigned int v3; // r0 void *v4; // r5 void *v5; // r0 if ( a2 < *(_DWORD *)(a1 + 4) + (*(_DWORD *)(a1 + 4) >> 1) ) a2 = *(_DWORD *)(a1 + 4) + (*(_DWORD *)(a1 + 4) >> 1); *(_DWORD *)(a1 + 4) = a2; if ( a2 > 0x1FC00000 ) v3 = -1; else v3 = 4 * a2; v4 = (void *)operator new[](v3); std::__copy_move::__copy_m( *(void **)(a1 + 8), *(_DWORD *)(a1 + 8) + 4 * *(_DWORD *)a1, v4); v5 = *(void **)(a1 + 8); if ( v5 != (void *)(a1 + 12) && v5 ) operator delete[](v5); *(_DWORD *)(a1 + 8) = v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source