// // tinyxml2::DynArray::EnsureCapacity from 0x180098f30 to 0x180098f8c (92 bytes) // // 4 xrefs: // > @ 0x18013ef34 // > @ 0x18013ef44 // > @ 0x1801438a8 // > @ 0x1801b6d74 // // 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 tinyxml2::DynArray::EnsureCapacity(__int64 a1, int a2) { int v3; // edi void *v4; // rsi if ( a2 > *(_DWORD *)(a1 + 28) ) { v3 = 2 * a2; v4 = operator new(2 * a2); memcpy(v4, *(const void **)a1, *(int *)(a1 + 32)); if ( *(_QWORD *)a1 != a1 + 8 ) j_j_free_0(*(void **)a1); *(_QWORD *)a1 = v4; *(_DWORD *)(a1 + 28) = v3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source