// // std::vector>::push_back from 0x49ca20 to 0x49ca94 (116 bytes) // // 3 xrefs: // > GJEffectManager::createKeyframeCommand @ 0x4a5a8c // > GJEffectManager::createKeyframeCommand @ 0x4a5b7a // > GJEffectManager::createKeyframeCommand @ 0x4a5b8e // // 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 std::vector::push_back(const void **a1, _DWORD *a2) { _DWORD *v3; // r3 unsigned int v5; // r0 int v6; // r7 unsigned int v7; // r5 int v8; // r3 size_t v9; // r6 const void *v10; // r6 v3 = a1[1]; if ( v3 == a1[2] ) { v5 = std::vector::_M_check_len(a1, 1u, (int)"vector::_M_emplace_back_aux"); v6 = 4 * v5; if ( v5 ) { if ( v5 >= 0x40000000 ) sub_772FB4(v5); v5 = operator new(4 * v5); } v7 = v5; v8 = (_BYTE *)a1[1] - (_BYTE *)*a1; if ( v5 + v8 ) *(_DWORD *)(v5 + v8) = *a2; v9 = (_BYTE *)a1[1] - (_BYTE *)*a1; if ( v9 >> 2 ) memmove((void *)v5, *a1, v9); v10 = (const void *)(v9 + 4 + v7); if ( *a1 ) operator delete((void *)*a1); *a1 = (const void *)v7; a1[1] = v10; a1[2] = (const void *)(v7 + v6); } else { if ( v3 ) *v3 = *a2; a1[1] = (char *)a1[1] + 4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source