//
// std::vector>::emplace_back<> from 0x4a51a4 to 0x4a51ca (38 bytes)
//
// 6 xrefs:
// > GJEffectManager::createMoveCommand @ 0x4a5244
// > GJEffectManager::createRotateCommand @ 0x4a5316
// > GJEffectManager::createTransformCommand @ 0x4a53a2
// > GJEffectManager::createFollowCommand @ 0x4a541e
// > GJEffectManager::createPlayerFollowCommand @ 0x4a547a
// > GJEffectManager::createKeyframeCommand @ 0x4a5520
//
// 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::emplace_back<>(int a1)
{
int v1; // r3
v1 = *(_DWORD *)(a1 + 4);
if ( v1 == *(_DWORD *)(a1 + 8) )
{
std::vector::_M_emplace_back_aux<>(a1);
}
else
{
if ( v1 )
GroupCommandObject2::GroupCommandObject2(*(GroupCommandObject2 **)(a1 + 4));
*(_DWORD *)(a1 + 4) += 488;
}
}